Skip to content

Commit

Permalink
Skip WebAssembly on Windows CI
Browse files Browse the repository at this point in the history
The Windows CI build is much slower than Linux. We only need to build and test
wasm on one host platform, so do it on Linux. This change was made in the RTen
repository previously.
  • Loading branch information
robertknight committed May 2, 2024
1 parent bc9c9ea commit 60bbdc6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
uses: actions/checkout@v3
- name: Setup rust
run: rustup target add wasm32-unknown-unknown
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Cache
uses: actions/cache@v3
with:
Expand All @@ -26,10 +27,12 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Install wasm-bindgen
run: cargo install wasm-bindgen-cli --version 0.2.89
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Build
run: cargo build
- name: WASM build
run: make wasm
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Test
run: make test
- name: Lint
Expand Down

0 comments on commit 60bbdc6

Please sign in to comment.