Skip to content

Commit 5184d89

Browse files
itaybreclaude
andcommitted
chore(ci): Move testflight and size-analysis iOS jobs to GitHub Actions macos-26
Replace Cirrus macOS runners with GitHub-hosted macos-26 runners and remove all dead Bitrise-specific steps and matrix strategy. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5dfe1c9 commit 5184d89

2 files changed

Lines changed: 6 additions & 79 deletions

File tree

.github/workflows/size-analysis.yml

Lines changed: 3 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,9 @@ jobs:
9191
9292
ios:
9393
needs: [ready-to-merge-gate]
94-
name: iOS Size Analysis on ${{matrix.runner_provider}}
95-
runs-on: ${{ matrix.runner_provider == 'bitrise' && fromJSON('["bitrise_pool_name:tahoe"]') || fromJSON('["ghcr.io/cirruslabs/macos-tahoe-xcode:26.2.0", "runner_group_id:10"]') }}
96-
continue-on-error: ${{ matrix.runner_provider == 'bitrise' }}
94+
name: iOS Size Analysis
95+
runs-on: macos-26
9796
timeout-minutes: 45
98-
strategy:
99-
fail-fast: false
100-
matrix:
101-
# Only run on Cirrus for now, because we would upload twice to Sentry
102-
runner_provider: ["cirrus"]
10397

10498
steps:
10599
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
@@ -114,38 +108,7 @@ jobs:
114108
cache: "yarn"
115109
cache-dependency-path: yarn.lock
116110

117-
- name: Setup asdf Node.js (Bitrise)
118-
if: matrix.runner_provider == 'bitrise'
119-
run: |
120-
asdf global nodejs system
121-
corepack enable
122-
123-
- uses: actions/cache@v4
124-
name: Cache Ruby
125-
if: matrix.runner_provider != 'bitrise'
126-
with:
127-
path: |
128-
~/.rbenv/versions
129-
~/.rbenv/cache
130-
key: ruby-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.ruby-version') }}
131-
132-
- uses: actions/cache@v4
133-
name: Cache Ruby (Bitrise)
134-
if: matrix.runner_provider == 'bitrise'
135-
with:
136-
path: ~/.asdf/installs/ruby
137-
key: asdf-ruby-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.ruby-version') }}
138-
139-
- name: Install Ruby (Bitrise)
140-
if: matrix.runner_provider == 'bitrise'
141-
working-directory: ${{ env.REACT_NATIVE_SAMPLE_PATH }}
142-
run: |
143-
asdf install ruby 3.3.0
144-
asdf local ruby 3.3.0
145-
bundle install
146-
147111
- uses: ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
148-
if: matrix.runner_provider != 'bitrise'
149112
with:
150113
working-directory: ${{ env.REACT_NATIVE_SAMPLE_PATH }}
151114
ruby-version: "3.3.0"
@@ -208,5 +171,5 @@ jobs:
208171
if: ${{ always() }}
209172
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
210173
with:
211-
name: size-analysis-ios-${{ matrix.runner_provider }}-logs
174+
name: size-analysis-ios-logs
212175
path: ${{ env.REACT_NATIVE_SAMPLE_PATH }}/ios/xcodebuild-size-analysis.log

.github/workflows/testflight.yml

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -13,44 +13,14 @@ jobs:
1313
uses: ./.github/workflows/skip-ci.yml
1414

1515
upload_to_testflight:
16-
name: Build and Upload React Native Sample to Testflight on ${{matrix.runner_provider}}
17-
runs-on: ${{ matrix.runner_provider == 'bitrise' && fromJSON('["bitrise_pool_name:tahoe"]') || fromJSON('["ghcr.io/cirruslabs/macos-tahoe-xcode:26.2.0", "runner_group_id:10"]') }}
18-
continue-on-error: ${{ matrix.runner_provider == 'bitrise' }}
16+
name: Build and Upload React Native Sample to Testflight
17+
runs-on: macos-26
1918
needs: [diff_check]
2019
if: ${{ needs.diff_check.outputs.skip_ci != 'true' }}
21-
strategy:
22-
fail-fast: false
23-
matrix:
24-
# Only run on Cirrus for now, because we would upload twice to Testflight with the same build number
25-
runner_provider: ["cirrus"]
2620
steps:
2721
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
28-
- uses: actions/cache@v4
29-
name: Cache Ruby
30-
if: matrix.runner_provider != 'bitrise'
31-
with:
32-
path: |
33-
~/.rbenv/versions
34-
~/.rbenv/cache
35-
key: ruby-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.ruby-version') }}
36-
37-
- uses: actions/cache@v4
38-
name: Cache Ruby (Bitrise)
39-
if: matrix.runner_provider == 'bitrise'
40-
with:
41-
path: ~/.asdf/installs/ruby
42-
key: asdf-ruby-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('.ruby-version') }}
43-
44-
- name: Install Ruby (Bitrise)
45-
if: matrix.runner_provider == 'bitrise'
46-
working-directory: samples/react-native
47-
run: |
48-
asdf install ruby 3.3.0
49-
asdf local ruby 3.3.0
50-
bundle install
5122

5223
- uses: ruby/setup-ruby@9eb537ca036ebaed86729dcb9309076e4c5c3b74 # v1
53-
if: matrix.runner_provider != 'bitrise'
5424
with:
5525
working-directory: samples/react-native
5626
ruby-version: "3.3.0" # based on what is used in the sample
@@ -64,12 +34,6 @@ jobs:
6434
cache: "yarn"
6535
cache-dependency-path: yarn.lock
6636

67-
- name: Setup asdf Node.js (Bitrise)
68-
if: matrix.runner_provider == 'bitrise'
69-
run: |
70-
asdf global nodejs system
71-
corepack enable
72-
7337
- name: Install Dependencies
7438
run: |
7539
yarn install
@@ -111,6 +75,6 @@ jobs:
11175
- name: Upload Xcode Archive
11276
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
11377
with:
114-
name: sentry-react-native-sample-xcode-archive-for-testflight-${{ matrix.runner_provider }}
78+
name: sentry-react-native-sample-xcode-archive-for-testflight
11579
path: samples/react-native/sentryreactnativesample.xcarchive
11680
retention-days: 1

0 commit comments

Comments
 (0)