Revert visionOS changes and provide Copilot instruction improvements #4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Check visionOS | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test-visionos: | |
| name: Test Ferric with visionOS Triplets | |
| runs-on: macos-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: lts/iron | |
| # Install visionOS targets for Rust | |
| - run: rustup target add aarch64-apple-visionos aarch64-apple-visionos-sim | |
| # Also install required iOS targets for the bootstrap process | |
| - run: rustup target add aarch64-apple-ios-sim | |
| - run: npm ci | |
| - run: npm run build | |
| # Bootstrap host package to get weak-node-api and ferric-example with visionOS support | |
| - run: npm run bootstrap --workspace react-native-node-api | |
| - run: npm run bootstrap --workspace @react-native-node-api/ferric-example | |
| env: | |
| CMAKE_RN_TRIPLETS: aarch64-apple-visionos,aarch64-apple-visionos-sim | |
| FERRIC_TARGETS: aarch64-apple-visionos,aarch64-apple-visionos-sim | |
| - run: npm run lint | |
| env: | |
| DEBUG: eslint:eslint |