-
-
Notifications
You must be signed in to change notification settings - Fork 337
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci): update sample app build target to generic ios simulator (#4276)
- Loading branch information
1 parent
57448c5
commit e1ea4a8
Showing
2 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -36,11 +36,9 @@ jobs: | |
build-type: ['dev', 'production'] | ||
include: | ||
- platform: ios | ||
runs-on: macos-14 # uses m1 https://github.blog/changelog/2024-01-30-github-actions-macos-14-sonoma-is-now-available/ | ||
runtime: 'latest' | ||
device: 'iPhone 14' | ||
runs-on: macos-15 | ||
- platform: macos | ||
runs-on: macos-14 | ||
runs-on: macos-15 | ||
- platform: android | ||
runs-on: ubuntu-latest | ||
exclude: | ||
|
@@ -55,7 +53,10 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: corepack enable | ||
- name: Enable Corepack | ||
run: | | ||
npm install -g [email protected] | ||
corepack enable | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
|
@@ -132,7 +133,8 @@ jobs: | |
-workspace sentryreactnativesample.xcworkspace \ | ||
-configuration "$CONFIG" \ | ||
-scheme sentryreactnativesample \ | ||
-destination 'platform=iOS Simulator,OS=${{ matrix.runtime }},name=${{ matrix.device }}' \ | ||
-sdk 'iphonesimulator' \ | ||
-destination 'generic/platform=iOS Simulator' \ | ||
ONLY_ACTIVE_ARCH=yes \ | ||
-derivedDataPath "$derivedData" \ | ||
build \ | ||
|
This file contains 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