Skip to content

Commit

Permalink
fix rust build
Browse files Browse the repository at this point in the history
  • Loading branch information
mcroomp committed Apr 5, 2024
1 parent 4217c8d commit 4ac7d40
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
target: wasm32-wasi
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: aarch64-unknown-linux-musl
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-pc-windows-msvc
targets: wasm32-wasi,aarch64-unknown-linux-musl,x86_64-pc-windows-msvc
components: rustfmt,clippy

- name: Build default target
run: cargo build --locked
Expand All @@ -35,7 +28,7 @@ jobs:
- name: Build aarch64-unknown-linux-musl
run: cargo build --locked --target aarch64-unknown-linux-musl --lib
- name: Build x86_64-pc-windows-msvc
run: cargo build --locked --target x86_64-pc-windows-msvc
run: cargo build --locked --target x86_64-pc-windows-msvc --lib
- name: Run tests
run: cargo test --locked
- name: Check formatting
Expand Down

0 comments on commit 4ac7d40

Please sign in to comment.