File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -118,11 +118,13 @@ jobs:
118
118
- name : Install LLVM
119
119
uses : ./.github/composite/llvm
120
120
if : ${{ matrix.os.id == 'windows-latest' }}
121
+ - name : Compile tests
122
+ run : cargo test --workspace --all-features --no-run;
121
123
- name : Test
122
124
run : cargo test --workspace --all-features ${{ matrix.testflags }};
123
125
124
- check -release :
125
- name : check -release-${{ matrix.os.name }}
126
+ build -release :
127
+ name : build -release-${{ matrix.os.name }}
126
128
needs : rustfmt
127
129
strategy :
128
130
fail-fast : true # cancel all jobs as soon as one fails?
@@ -147,7 +149,7 @@ jobs:
147
149
- name : Release build (check only)
148
150
run : cargo check --release;
149
151
150
- test -ios :
152
+ build -ios :
151
153
needs : rustfmt
152
154
# continue-on-error: ${{ matrix.rust == 'nightly' }}
153
155
# strategy:
@@ -178,7 +180,7 @@ jobs:
178
180
cd gdnative-sys;
179
181
cargo dinghy --platform auto-ios-x86_64 test;
180
182
181
- test -android :
183
+ build -android :
182
184
# Note: even though Android builds for another architecture than Linux, it can reuse downloaded crates (source code, maybe 'cargo check').
183
185
needs : rustfmt
184
186
# continue-on-error: ${{ matrix.rust == 'nightly' }}
@@ -295,10 +297,10 @@ jobs:
295
297
# - rustfmt
296
298
- clippy
297
299
- test
298
- - test-ios
299
- - test-android
300
300
- integration-test-godot
301
- - check-release
301
+ - build-release
302
+ - build-ios
303
+ - build-android
302
304
runs-on : ubuntu-latest
303
305
steps :
304
306
- name : Mark the job as a success
Original file line number Diff line number Diff line change 61
61
- uses : actions/checkout@v2
62
62
- name : Install Rust
63
63
uses : ./.github/composite/rust
64
+ - name : Compile tests
65
+ run : cargo test --workspace --all-features --no-run;
64
66
- name : Test
65
67
run : cargo test --workspace --all-features;
66
68
You can’t perform that action at this time.
0 commit comments