Skip to content

Commit

Permalink
Disabled tests via wasmtime in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Holzschuch committed Apr 23, 2024
1 parent 37a5fd5 commit 5cb3883
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/ci.yml
Expand Up @@ -189,12 +189,9 @@ jobs:
shell: bash
run: ${{ env.CARGO }} test --bin rg ${{ env.TARGET_FLAGS }} flags::defs::tests::available_shorts -- --nocapture

# Setup and run tests on the wasm32-wasi target via wasmtime.
# Setup and compile on the wasm32-wasi target
wasm:
runs-on: ubuntu-latest
env:
# The version of wasmtime to download and install.
WASMTIME_VERSION: 15.0.1
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -204,19 +201,9 @@ jobs:
toolchain: stable
- name: Add wasm32-wasi target
run: rustup target add wasm32-wasi
- name: Download and install Wasmtime
run: |
echo "CARGO_BUILD_TARGET=wasm32-wasi" >> $GITHUB_ENV
echo "RUSTFLAGS=-Ctarget-feature=+simd128" >> $GITHUB_ENV
curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v$WASMTIME_VERSION/wasmtime-v$WASMTIME_VERSION-x86_64-linux.tar.xz
tar xvf wasmtime-v$WASMTIME_VERSION-x86_64-linux.tar.xz
echo `pwd`/wasmtime-v$WASMTIME_VERSION-x86_64-linux >> $GITHUB_PATH
echo "CARGO_TARGET_WASM32_WASI_RUNNER=wasmtime run --wasm simd --" >> $GITHUB_ENV
- name: Basic build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose


rustfmt:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 5cb3883

Please sign in to comment.