-
Notifications
You must be signed in to change notification settings - Fork 1
YPE-1178 Add IOS CI build test #34
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
Open
camrun91
wants to merge
23
commits into
main
Choose a base branch
from
YPE-1178-rn-ios-create-ci-test-to-verify-successful-build
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+52
−0
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
400b57c
fix: ios ci test
camrun91 6ce4c9e
fix: change order of commands
camrun91 3bb2394
fix: pin xcode
camrun91 0d249e2
Update .github/workflows/example_ios_build.yml
camrun91 9d5961a
Update .github/workflows/example_ios_build.yml
camrun91 71f14ab
Update .github/workflows/example_ios_build.yml
camrun91 f842e54
Merge branch 'main' into YPE-1178-rn-ios-create-ci-test-to-verify-suc…
camrun91 337e6d7
Merge branch 'main' into YPE-1178-rn-ios-create-ci-test-to-verify-suc…
camrun91 c67f86d
Merge branch 'main' into YPE-1178-rn-ios-create-ci-test-to-verify-suc…
camrun91 a940aec
fix: simplify
camrun91 6a9379d
fix: resolve errors
camrun91 5d5c8bd
fix: command
camrun91 987add5
fix: speed up build
camrun91 5f77838
fix: command
camrun91 4300b68
fix: command
camrun91 8951419
fix: confirm build
camrun91 898a047
fix: path
camrun91 b7b1e0c
fix: commands
camrun91 8941a66
fix: builds
camrun91 c72c5c4
fix: improve stability
camrun91 c2239bb
fix: update xcode version
camrun91 ccb70b7
fix: arch
camrun91 e891d33
fix: simplify
camrun91 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
Some comments aren't visible on the classic Files Changed page.
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,52 @@ | ||
| name: Test Example App Build | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [main] | ||
|
|
||
| jobs: | ||
| test-ios-build: | ||
| runs-on: macos-latest | ||
| timeout-minutes: 45 | ||
| permissions: | ||
| contents: read | ||
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Select Xcode version | ||
| uses: maxim-lobanov/setup-xcode@v1 | ||
| with: | ||
| xcode-version: '26.2' | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '20' | ||
| cache: 'npm' | ||
|
|
||
| - name: Install dependencies (root) | ||
| run: npm ci | ||
|
|
||
| - name: Install dependencies (example app) | ||
| working-directory: example | ||
| run: npm ci | ||
camrun91 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| - name: Generate native iOS project | ||
| working-directory: example | ||
| run: npx expo prebuild --platform ios | ||
|
|
||
| - name: Cache CocoaPods | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: example/ios/Pods | ||
| key: ${{ runner.os }}-pods-${{ hashFiles('example/ios/Podfile', 'example/package-lock.json') }} | ||
|
|
||
| - name: Install CocoaPods dependencies | ||
| working-directory: example/ios | ||
| run: pod install | ||
|
|
||
| - name: Build iOS app | ||
| working-directory: example | ||
| run: npm run ios -- --no-install --no-bundler | ||
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.
Uh oh!
There was an error while loading. Please reload this page.