File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed
Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Ahead-of-time compilation test
2+ on :
3+ pull_request :
4+ branches : [ "main" ]
5+
6+ jobs :
7+ build :
8+ name : AOT test on ${{ matrix.os }}
9+ runs-on : ${{ matrix.os }}
10+ strategy :
11+ matrix :
12+ os : [macos-14, windows-2022, ubuntu-24.04]
13+ steps :
14+ - uses : actions/checkout@v4
15+
16+ - uses : graalvm/setup-graalvm@v1
17+ with :
18+ java-version : ' 23'
19+ distribution : ' graalvm'
20+ github-token : ${{ secrets.GITHUB_TOKEN }}
21+ native-image-job-reports : ' true'
22+
23+ - name : Setup SBT
24+ uses : sbt/setup-sbt@v1
25+
26+ - name : Build native image
27+ run : |
28+ sbt GraalVMNativeImage/packageBin
Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ lazy val jenaV = "5.3.0"
99lazy val jellyV = " 2.8.0+14-4181e89a-SNAPSHOT"
1010
1111lazy val root = (project in file(" ." ))
12- .enablePlugins(BuildInfoPlugin )
12+ .enablePlugins(
13+ BuildInfoPlugin ,
14+ GraalVMNativeImagePlugin ,
15+ )
1316 .settings(
1417 name := " cli" ,
1518 libraryDependencies ++= Seq (
Original file line number Diff line number Diff line change 11addSbtPlugin(" com.eed3si9n" % " sbt-buildinfo" % " 0.13.1" )
22addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.9.3" )
3- addSbtPlugin(" com.eed3si9n " % " sbt-assembly " % " 2.3 .1" )
3+ addSbtPlugin(" com.github.sbt " % " sbt-native-packager " % " 1.11 .1" )
You can’t perform that action at this time.
0 commit comments