-
Notifications
You must be signed in to change notification settings - Fork 7
Revert visionOS changes and provide Copilot instruction improvements #289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 3 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
41120db
Initial plan
Copilot 35a812d
Enable visionOS triplets in Ferric and add visionOS workflow
Copilot 5841e2d
Fix workflow permissions and remove unnecessary dependencies for visi…
Copilot 8f8d49d
Bootstrap Rust compiler for visionOS targets and remove lint step
Copilot 598835e
Revise visionOS workflow to use -Zbuild-std with nightly Rust instead…
Copilot 7da043c
Enhance visionOS workflow with comprehensive build-std configuration …
Copilot 8447682
Update Node.js version to match original check workflow (lts/jod)
Copilot 4f5147c
Add CMAKE_RN_TRIPLETS to first bootstrap step to avoid building Andro…
Copilot 047b8d1
Fix triplet naming mismatch: use arm64-apple-visionos for CMAKE_RN_TR…
Copilot 1f15f4d
Add visionOS target installation step with graceful fallback for tier…
Copilot 034ea6b
Add diagnostic workflow to analyze Ferric target validation and test …
Copilot 0bf31fb
Update Ferric to handle tier 3 targets with build-std instructions
Copilot abcbd29
Improve tier 3 target handling: use assertFixable and smart getInstal…
Copilot c14d33a
Refactor tier 3 target validation: move logic to ensureInstalledTarge…
Copilot f11d1d5
Revert all visionOS changes - superseded by PR #294
Copilot 3966991
Add comprehensive analysis and suggestions for improving Copilot inst…
Copilot 3397ac5
Add focused Rust/Ferric integration patterns to copilot instructions
Copilot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| 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 | ||
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work. These targets are tier 3 and won't be available prebuilt, so you need to build / bootstrap the Rust compiler as I mentioned in the instructions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated to bootstrap the Rust compiler from source instead of using rustup target add. The workflow now clones rust-lang/rust, configures build for visionOS targets, and uses ./x.py build and install commands. Commit 8f8d49d