From e4c1f51cd96dc1c339f063c1d5667dd16eb65084 Mon Sep 17 00:00:00 2001 From: Erik Everson Date: Fri, 16 Feb 2024 13:46:13 -0700 Subject: [PATCH] Added tvOS sim test --- .github/workflows/main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3695332f8..8ce9f5b23 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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