Commit 43a0f85 1 parent d17651e commit 43a0f85 Copy full SHA for 43a0f85
File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 11
11
jobs :
12
12
build :
13
13
name : Build for ${{ matrix.target }}
14
- runs-on : ubuntu-latest
14
+ runs-on : ${{ matrix.os }}
15
15
strategy :
16
16
matrix :
17
- target :
18
- - x86_64-unknown-linux-gnu
19
- - aarch64-unknown-linux-gnu
20
- - aarch64-apple-darwin
21
- - x86_64-apple-darwin
22
- - x86_64-pc-windows-gnu
23
- # - aarch64-pc-windows-msvc
17
+ include :
18
+ - target : x86_64-unknown-linux-gnu
19
+ os : ubuntu-latest
20
+ - target : aarch64-unknown-linux-gnu
21
+ os : linux-arm64
22
+ - target : aarch64-apple-darwin
23
+ os : ubuntu-latest
24
+ - target : x86_64-apple-darwin
25
+ os : ubuntu-latest
26
+ - target : x86_64-pc-windows-gnu
27
+ os : windows-latest
24
28
steps :
25
29
- uses : actions/checkout@v3
26
30
- name : Install Rust
@@ -80,21 +84,17 @@ jobs:
80
84
with :
81
85
name : ${{ matrix.target }}-java-code
82
86
path : bindings/java/java_code
83
-
84
87
- name : List contents of downloaded artifact
85
88
run : ls -R bindings/java/java_code
86
89
shell : bash
87
-
88
90
- name : Set up JDK
89
91
uses : actions/setup-java@v3
90
92
with :
91
93
distribution : ' temurin'
92
94
java-version : ' 17'
93
-
94
95
- name : Build with Gradle (no tests)
95
96
run : ./gradlew build -x test
96
97
working-directory : bindings/java/java_code
97
-
98
98
- name : Run Gradle tests
99
99
run : ./gradlew test --info --stacktrace --scan
100
100
working-directory : bindings/java/java_code
You can’t perform that action at this time.
0 commit comments