Skip to content

Commit

Permalink
Run CLI builds and tests on all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Oct 29, 2022
1 parent caa7a70 commit e9e8362
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,21 @@ jobs:
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
test: true
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
test: false
- os: macos-latest
target: x86_64-apple-darwin
test: true
- os: macos-latest
target: aarch64-apple-darwin
test: false
- os: windows-latest
target: x86_64-pc-windows-msvc
test: true
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -48,7 +61,8 @@ jobs:
- run: rustup target add ${{ matrix.target }}
- run: cargo clippy --all-targets --target ${{ matrix.target }}
- run: make build-test-wasms
- run: cargo test --workspace --target ${{ matrix.target }}
- if: matrix.test
run: cargo test --workspace --target ${{ matrix.target }}

e2e-test:
strategy:
Expand Down

0 comments on commit e9e8362

Please sign in to comment.