diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6aa1dd6..26d8452 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,7 +84,7 @@ jobs: - riscv64gc-unknown-linux-gnu - wasm32-unknown-unknown - wasm32-unknown-emscripten - - wasm32-wasi + - wasm32-wasip1 runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -103,7 +103,13 @@ jobs: - name: cargo build --target ${{ matrix.target }} run: | rustup target add ${{ matrix.target }} - cargo build --target ${{ matrix.target }} + cargo build --target ${{ matrix.target }} + if: matrix.target != 'wasm32-unknown-unknown' && matrix.target != 'wasm32-unknown-emscripten' && matrix.target != 'wasm32-wasip1' + - name: cargo build --target ${{ matrix.target }} + run: | + rustup target add ${{ matrix.target }} + cargo build --target ${{ matrix.target }} --no-default-features --features alloc + if: matrix.target == 'wasm32-unknown-unknown' || matrix.target == 'wasm32-unknown-emscripten' || matrix.target == 'wasm32-wasip1' build: name: build