File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : GraalVM Native Image builds on All platforms
2
+ on :
3
+ workflow_dispatch :
4
+
5
+ jobs :
6
+ build :
7
+ name : Building CATS on ${{ matrix.os }}
8
+ runs-on : ${{ matrix.os }}
9
+ strategy :
10
+ matrix :
11
+ os : [macos-latest, windows-latest, ubuntu-latest]
12
+ arch : [ amd64, arm64 ]
13
+ exclude :
14
+ - os : windows-latest
15
+ arch : arm64
16
+ steps :
17
+ - uses : actions/checkout@v4
18
+
19
+ - uses : graalvm/setup-graalvm@v1
20
+ with :
21
+ java-version : ' 21'
22
+ distribution : ' graalvm'
23
+ github-token : ${{ secrets.GITHUB_TOKEN }}
24
+ native-image-job-reports : ' true'
25
+
26
+ - name : Build and run CATS
27
+ run : |
28
+ mvn -B clean package -Pnative -DskipTests=true
29
+
30
+ - name : Upload native image
31
+ uses : actions/upload-artifact@v4
32
+ with :
33
+ name : cats-${{ matrix.os }}
34
+ path : target/cats-runner
You can’t perform that action at this time.
0 commit comments