File tree Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Expand file tree Collapse file tree 2 files changed +17
-6
lines changed Original file line number Diff line number Diff line change @@ -50,25 +50,32 @@ jobs:
5050 - name : " Android"
5151 os : ubuntu-latest
5252 target : x86_64-linux-android
53+ - name : " WASI P1"
54+ os : ubuntu-latest
55+ target : wasm32-wasip1
56+ test-flags : --tests
57+ - name : " WASI P2"
58+ os : ubuntu-latest
59+ target : wasm32-wasip2
60+ test-flags : --tests
5361 exclude :
5462 - rust-version : " 1.63"
5563 platform :
5664 name : " Android"
5765 os : ubuntu-latest
5866 target : x86_64-linux-android
59- include :
60- - rust-version : " nightly"
61- test-flags : --tests
67+ - rust-version : " 1.63"
6268 platform :
6369 name : " WASI P1"
6470 os : ubuntu-latest
6571 target : wasm32-wasip1
66- - rust-version : " nightly "
67- test-flags : --tests
72+ test-flags : --tests
73+ - rust-version : " 1.63 "
6874 platform :
6975 name : " WASI P2"
7076 os : ubuntu-latest
7177 target : wasm32-wasip2
78+ test-flags : --tests
7279 name : Platform Test (${{ matrix.platform.name }} / ${{ matrix.rust-version }})
7380 runs-on : ${{ matrix.platform.os }}
7481 steps :
@@ -129,7 +136,7 @@ jobs:
129136 - name : Build
130137 run : cargo build --target ${{ matrix.platform.target }} ${{ matrix.rust-version == 'nightly' && '--features nightly' || '' }}
131138 - name : Test
132- run : cargo test --target ${{ matrix.platform.target }} ${{ matrix.rust-version == 'nightly' && '--features nightly' || '' }} ${{ matrix.test-flags }} -- --nocapture
139+ run : cargo test --target ${{ matrix.platform.target }} ${{ matrix.rust-version == 'nightly' && '--features nightly' || '' }} ${{ matrix.platform. test-flags }} -- --nocapture
133140 - name : Stop the redroid container
134141 if : ${{ contains(matrix.platform.target, 'android') }}
135142 run : |
Original file line number Diff line number Diff line change @@ -148,6 +148,10 @@ fn test_append() {
148148}
149149
150150#[ test]
151+ #[ cfg_attr(
152+ all( target_os = "wasi" , not( feature = "nightly" ) ) ,
153+ ignore = "reopen on wasi requires the 'nightly' feature"
154+ ) ]
151155fn test_reopen ( ) {
152156 configure_wasi_temp_dir ( ) ;
153157
You can’t perform that action at this time.
0 commit comments