Skip to content

Commit 1ab625b

Browse files
committed
Add visionOS CI check to ensure compilation
Adds a minimal CI check for visionOS to verify the code at least compiles for the platform. Uses cargo check with -Zbuild-std since visionOS is a tier 3 target without pre-built std. This will catch any libc definition issues across Apple platforms as suggested by maintainers.
1 parent d0cbc33 commit 1ab625b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/main.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,20 @@ jobs:
115115
- name: Run check
116116
run: cargo check --all-features --target wasm32-unknown-unknown
117117

118+
check-visionos:
119+
runs-on: ubuntu-latest
120+
steps:
121+
- name: Checkout
122+
uses: actions/checkout@v3
123+
124+
- name: Install toolchain
125+
uses: dtolnay/rust-toolchain@nightly
126+
with:
127+
components: rust-src
128+
129+
- name: Run check
130+
run: cargo check --all-features --target aarch64-apple-visionos -Zbuild-std
131+
118132
test-msrv:
119133
runs-on: ubuntu-latest
120134
steps:

0 commit comments

Comments
 (0)