1616 - { target: aarch64-pc-windows-msvc, os: windows-11-arm }
1717
1818 - { target: aarch64-unknown-linux-gnu, os: ubuntu-22.04, use-cross: true }
19- - { target: wasm32-wasip1, os: ubuntu-24.04 }
2019
2120 # mac-14 is an M1 ARM device.
2221 - { target: aarch64-apple-darwin, os: macos-14 }
@@ -36,22 +35,13 @@ jobs:
36353736 with :
3837 targets : ${{ matrix.job.target }}
39- if : ${{ matrix.job.target != 'wasm32-wasip1' }}
4038
4139 - name : Install cross
4240 if : matrix.job.use-cross
4341 uses : taiki-e/install-action@v2
4442 with :
45434644
47- - if : ${{ matrix.job.target == 'wasm32-wasip1' }}
48- run : |
49- wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-29/wasi-sdk-29.0-x86_64-linux.deb
50- sudo apt-get install ./wasi-sdk-29.0-x86_64-linux.deb
51- rm ./wasi-sdk-29.0-x86_64-linux.deb
52- rustup override set stable
53- rustup target add wasm32-wasip1
54-
5545 - name : Overwrite build command env variable
5646 if : matrix.job.use-cross
5747 shell : bash
6050 - name : Test
6151 shell : bash
6252 run : $BUILD_CMD $SUBCOMMAND --target ${{ matrix.job.target }}
63- env :
64- WASI_SDK_PATH : /opt/wasi-sdk
65- WASI_SYSROOT : /opt/wasi-sdk/share/wasi-sysroot
66- CC_wasm32_wasip1 : /opt/wasi-sdk/bin/clang
67- AR_wasm32_wasip1 : /opt/wasi-sdk/bin/llvm-ar
68- CFLAGS_wasm32_wasip1 : " --sysroot=/opt/wasi-sdk/share/wasi-sysroot"
6953
7054 test_mime_db :
7155 name : Test with MIME database
0 commit comments