Skip to content

Commit

Permalink
Adding CI for wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Holzschuch committed Apr 23, 2024
1 parent 2954e42 commit c57995e
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -189,6 +189,21 @@ jobs:
shell: bash
run: ${{ env.CARGO }} test --bin rg ${{ env.TARGET_FLAGS }} flags::defs::tests::available_shorts -- --nocapture

# Setup and compile on the wasm32-wasi target
wasm:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Add wasm32-wasi target
run: rustup target add wasm32-wasi
- name: Basic build
run: cargo build --verbose

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

0 comments on commit c57995e

Please sign in to comment.