Skip to content

Commit a92bedf

Browse files
committed
ci: Add apple tvOS build job
1 parent 8d98b5c commit a92bedf

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/main.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,24 @@ jobs:
9292
- run: cargo test ${{ matrix.no_run }} --manifest-path cc-test/Cargo.toml --target ${{ matrix.target }} --features parallel
9393
- run: cargo test ${{ matrix.no_run }} --manifest-path cc-test/Cargo.toml --target ${{ matrix.target }} --release
9494

95+
check-tvos:
96+
name: Test aarch64-apple-tvos
97+
runs-on: macos-latest
98+
steps:
99+
- uses: actions/checkout@v4
100+
- name: Install Rust (rustup)
101+
run: |
102+
set -euxo pipefail
103+
rustup toolchain install nightly --no-self-update --profile minimal
104+
rustup component add rust-src --toolchain nightly
105+
rustup default nightly
106+
shell: bash
107+
- run: cargo test -Z build-std=std --no-run --target aarch64-apple-tvos
108+
- run: cargo test -Z build-std=std --no-run --features parallel --target aarch64-apple-tvos
109+
- run: cargo test -Z build-std=std --no-run --manifest-path cc-test/Cargo.toml --target aarch64-apple-tvos
110+
- run: cargo test -Z build-std=std --no-run --manifest-path cc-test/Cargo.toml --target aarch64-apple-tvos --features parallel
111+
- run: cargo test -Z build-std=std --no-run --manifest-path cc-test/Cargo.toml --target aarch64-apple-tvos --release
112+
95113
cuda:
96114
name: Test CUDA support
97115
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)