File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed
Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14- name : Migtool build
14+ name : Migtool build for ${{matrix.os}}
1515 if : " !contains(github.event.head_commit.message, '[ci skip]')"
16- runs-on : ubuntu-latest
16+ runs-on : ${{matrix.os}}
1717 timeout-minutes : 90
1818 strategy :
1919 fail-fast : false
20+ matrix :
21+ os : [ubuntu-latest, macos-latest]
2022
2123 steps :
2224 - name : Environment
@@ -42,17 +44,17 @@ jobs:
4244 uses : actions/upload-artifact@v4
4345 if : failure()
4446 with :
45- name : linux -test-reports
47+ name : ${{matrix.os}} -test-reports
4648 path : build/reports/tests/test/
4749 overwrite : true
4850
4951 - name : Build Native Image
5052 run : ./gradlew nativeCompile
5153
52- - name : Upload linux native image artifact
54+ - name : Upload ${{matrix.os}} native image artifact
5355 uses : actions/upload-artifact@v4
5456 with :
55- name : migtool-linux
57+ name : migtool-${{matrix.os}}
5658 path : build/native/nativeCompile/migtool
5759 overwrite : true
5860
6567 uses : actions/upload-artifact@v4
6668 if : failure()
6769 with :
68- name : linux -testsNative-reports
70+ name : ${{matrix.os}} -testsNative-reports
6971 path : build/reports/tests/nativeCliTest/
7072 overwrite : true
7173
Original file line number Diff line number Diff line change @@ -76,6 +76,9 @@ distributions:
7676 migtool :
7777 type : NATIVE_IMAGE
7878 artifacts :
79- - path : " migtool-linux /migtool"
79+ - path : " migtool-ubuntu-latest /migtool"
8080 transform : " {{distributionName}}-linux-x86_64"
8181 platform : linux-x86_64
82+ - path : " migtool-macos-latest/migtool"
83+ transform : " {{distributionName}}-macos-arm64"
84+ platform : osx-aarch_64
You can’t perform that action at this time.
0 commit comments