Skip to content

Commit

Permalink
Fix for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorn3 committed Nov 5, 2024
1 parent 4a42758 commit 86283dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,10 @@ jobs:
curl -L https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-24/wasi-sdk-24.0-x86_64-linux.tar.gz | tar xz
- name: cargo nextest (without SIMD)
run: |
export CMAKE_TOOLCHAIN_FILE="$(pwd)/wasi-sdk-24.0-x86_64-linux/share/cmake/wasi-sdk.cmake"
cargo nextest run -p libbzip2-rs -p test-libbzip2-rs-sys --target wasm32-wasip1
export CC="$(pwd)/wasi-sdk-24.0-x86_64-linux/bin/clang"
export CFLAGS="-target wasm32-wasip1"
cargo nextest run -p libbzip2-rs-sys -p test-libbzip2-rs-sys --target wasm32-wasip1 \
-- --skip high_level_write --skip open_and_close # These tests use temp_dir
env:
RUST_BACKTRACE: 1
RUSTFLAGS: ""
Expand Down

0 comments on commit 86283dc

Please sign in to comment.