Skip to content

Commit e9dc1b9

Browse files
committed
added tvOS cargo check to CI
1 parent 77579d3 commit e9dc1b9

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,28 @@ env:
1616
RUSTFLAGS: -D warnings -F unused_must_use
1717

1818
jobs:
19+
check:
20+
name: Check
21+
runs-on: ${{ matrix.os }}
22+
strategy:
23+
matrix:
24+
os:
25+
- macos-latest
26+
steps:
27+
- uses: actions/checkout@v4
28+
with:
29+
persist-credentials: false
30+
31+
- uses: dtolnay/rust-toolchain@nightly
32+
33+
- name: Check (tvOS)
34+
if: matrix.os == 'macos-latest'
35+
run: |
36+
rustup component add rust-src --toolchain nightly-x86_64-apple-darwin
37+
cargo +nightly -Zbuild-std check --target aarch64-apple-tvos
38+
cargo +nightly -Zbuild-std check --target aarch64-apple-tvos-sim
39+
cargo +nightly -Zbuild-std check --target x86_64-apple-tvos
40+
1941
clippy:
2042
name: Clippy
2143
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)