File tree Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Expand file tree Collapse file tree 2 files changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -444,14 +444,23 @@ jobs:
444
444
# gradlew
445
445
run : gradle jvmMainClasses jvmTest jsTest jsBrowserTest
446
446
447
- build-rust :
448
- name : Build Rust
447
+ build-rust-linux :
448
+ name : Build Rust Linux
449
449
runs-on : ubuntu-latest
450
450
steps :
451
451
- uses : actions/checkout@v3
452
452
- name : test
453
453
working-directory : tests
454
454
run : bash RustTest.sh
455
+
456
+ build-rust-windows :
457
+ name : Build Rust Windows
458
+ runs-on : windows-2019
459
+ steps :
460
+ - uses : actions/checkout@v3
461
+ - name : test
462
+ working-directory : tests
463
+ run : ./RustTest.bat
455
464
456
465
build-python :
457
466
name : Build Python
Original file line number Diff line number Diff line change @@ -15,16 +15,19 @@ rem limitations under the License.
15
15
16
16
rem Compile then run the Rust test.
17
17
18
- cd rust_usage_test
18
+ cd rust_serialize_test
19
+ cargo run -- --quiet || exit /b 1
20
+
21
+ cd ../rust_no_std_compilation_test
22
+ rustup install nightly
23
+ rustup component add rust-src --toolchain nightly
24
+ rustup target add thumbv7m-none-eabi
25
+ cargo +nightly build || exit /b 1
26
+
27
+ cd ../rust_usage_test
19
28
cargo test -- --quiet || exit /b 1
20
29
cargo run --bin=flatbuffers_alloc_check || exit /b 1
21
30
cargo run --bin=flexbuffers_alloc_check || exit /b 1
22
31
cargo run --bin=monster_example || exit /b 1
23
32
cd ..
24
33
25
- cd rust_no_std_compilation_test
26
- rustup install nightly
27
- rustup component add rust-src --toolchain nightly
28
- rustup target add thumbv7m-none-eabi
29
- cargo build || exit /b 1
30
- cd ..
You can’t perform that action at this time.
0 commit comments