Skip to content

Commit

Permalink
Added tvOS sim test
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEverson committed Feb 16, 2024
1 parent 9b86e3f commit e4c1f51
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,24 @@ jobs:
- run: cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos --release
- run: cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos --features parallel

# This is separate from the matrix above because there is no prebuilt rust-std component for the target.
check-tvos-sim:
name: Test aarch64-apple-tvos-sim
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust (rustup)
run: |
set -euxo pipefail
rustup toolchain install nightly --no-self-update --profile minimal
rustup component add rust-src --toolchain nightly
rustup default nightly
shell: bash
- uses: Swatinem/rust-cache@v2
- run: cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos-sim
- run: cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos-sim --release
- run: cargo test -Z build-std=std --no-run --workspace --target aarch64-apple-tvos-sim --features parallel

cuda:
name: Test CUDA support
runs-on: ubuntu-20.04
Expand Down

0 comments on commit e4c1f51

Please sign in to comment.