Skip to content

Commit

Permalink
Tweak workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
davnotdev committed Jan 28, 2024
1 parent 523fa0c commit a100f93
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,23 @@ jobs:
platform: Linux
packages:
- gcc-aarch64-linux-gnu
test-targets:
- x86_64-unknown-linux-gnu
targets:
- aarch64-unknown-linux-gnu
- os: macos-12
platform: macOS
test-targets:
- x86_64-apple-darwin
targets:
- aarch64-apple-darwin
- aarch64-apple-ios
- aarch64-apple-ios-sim
- x86_64-apple-ios
- os: windows-2022
platform: Windows
test-targets:
- x86_64-pc-windows-msvc
targets:
- aarch64-pc-windows-msvc
- os: web
platform: WASM
targets:
- wasm32-unknown-unknown
runs-on: ${{ matrix.os }}
env:
DEVELOPER_DIR: /Applications/Xcode_14.2.app/Contents/Developer
Expand Down Expand Up @@ -68,7 +66,4 @@ jobs:
uses: Swatinem/rust-cache@v2
- name: Build
shell: bash
run: cargo build --verbose --workspace --all-features --target ${{ join(matrix.targets, ' --target ') }} --target ${{ join(matrix.test-targets, ' --target ') }}
- name: Test
shell: bash
run: cargo test --verbose --workspace --all-features --target ${{ join(matrix.test-targets, ' --target ') }}
run: cargo build --verbose --examples --target ${{ join(matrix.targets, ' --target ') }}

0 comments on commit a100f93

Please sign in to comment.