Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
guusw committed Jan 31, 2025
1 parent 2a8e678 commit d974cc9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,21 @@ jobs:
cd memchr
git checkout 2.5.0
# cargo +$RUSTUP_TOOLCHAIN -vvv build || true
cargo +$RUSTUP_TOOLCHAIN -vvv build --target wasm32-unknown-emscripten || true
cargo +$RUSTUP_TOOLCHAIN -vvv build --target wasm32-unknown-emscripten
- name: Set up rust
run: |
rustup +nightly component add rust-src
- name: Build
run: |
pushd memchr
rm -rf ./target
cargo +$RUSTUP_TOOLCHAIN -vvv build --target wasm32-unknown-emscripten
popd
cmake -Bbuild -GNinja -DCARGO_VERBOSE=1 -DCMAKE_BUILD_TYPE=Release -DSKIP_HEAVY_INLINE=1 -DUSE_LTO=0 -DRUST_USE_LTO=0 -DEMSCRIPTEN_PTHREADS=ON -DCMAKE_TOOLCHAIN_FILE=$EMSCRIPTEN_ROOT/cmake/Modules/Platform/Emscripten.cmake
cmake --build build --target cargo-shards-rust-union-rust
cmake --build build --target shards
# cmake --build build --target shards
echo "SHARDS_BUILD=$(pwd)/build" >> $GITHUB_ENV
# Node LTS v16.15.0 freezes during exit on the st build, using version 18 works
Expand Down

0 comments on commit d974cc9

Please sign in to comment.