Skip to content

Commit

Permalink
Add WASM target for Check and Test jobs
Browse files Browse the repository at this point in the history
Remove the Linux-specific dependencies for the WASM job.
  • Loading branch information
parasyte committed Nov 13, 2024
1 parent eeeac71 commit b5074dc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
- stable
- beta
- 1.76.0
target:
- x86_64-unknown-linux-gnu
- wasm32-unknown-unknown
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand All @@ -25,6 +28,7 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
Expand Down Expand Up @@ -74,6 +78,9 @@ jobs:
- stable
- beta
- 1.76.0
target:
- x86_64-unknown-linux-gnu
- wasm32-unknown-unknown
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand All @@ -85,6 +92,7 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
- name: Rust cache
uses: Swatinem/rust-cache@v2
with:
Expand All @@ -105,8 +113,6 @@ jobs:
uses: actions/checkout@v3
- name: Update apt repos
run: sudo apt -y update
- name: Install dependencies
run: sudo apt -y install libgtk-3-dev libudev-dev
- name: Install toolchain
uses: dtolnay/rust-toolchain@master
with:
Expand Down

0 comments on commit b5074dc

Please sign in to comment.