Skip to content

Add a basic testing framework #14

Add a basic testing framework

Add a basic testing framework #14

Workflow file for this run

name: Ahead-of-time compilation test
on:
pull_request:
branches: [ "main" ]
jobs:
build:
name: AOT test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Only test on Mac and Ubuntu – these are the fastest platforms.
# Windows and Linux ARM are built later after the PR is merged.
os: [macos-14, ubuntu-24.04]
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Setup SBT
uses: sbt/setup-sbt@v1
- name: Build native image
env:
DEV_BUILD: true
run: sbt GraalVMNativeImage/packageBin