Skip to content

Commit 2911d46

Browse files
[CI] Switch to M1 (#425)
1 parent a8ba727 commit 2911d46

File tree

48 files changed

+74
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+74
-63
lines changed

.github/workflows/cron-checks.yml

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ on:
55
# Runs "At 02:00 every night"
66
- cron: '0 2 * * *'
77

8-
# TODO: commented until `develop` branch is in place
9-
# pull_request:
10-
# branches:
11-
# - 'main'
12-
138
workflow_dispatch:
149

1510
concurrency:
@@ -24,12 +19,14 @@ jobs:
2419
name: Build Test App and Frameworks
2520
runs-on: macos-13
2621
steps:
27-
- uses: actions/checkout@v3.1.0
22+
- uses: actions/checkout@v4.1.1
2823
- uses: ./.github/actions/ruby-cache
2924
- uses: ./.github/actions/xcode-cache
3025
- name: Build
3126
run: bundle exec fastlane build_test_app_and_frameworks
3227
timeout-minutes: 60
28+
env:
29+
XCODE_VERSION: "14.3.1"
3330
- uses: actions/upload-artifact@v3
3431
if: success()
3532
with:
@@ -45,12 +42,11 @@ jobs:
4542
strategy:
4643
matrix:
4744
include:
48-
# TODO: uncomment this block as soon as Xcode 15 is stable on CI
49-
# - ios: 17.0
50-
# xcode: 15.0.1
51-
# os: macos-13
52-
# device: "iPhone 14 Pro Max"
53-
# setup_runtime: false
45+
- ios: 17.2
46+
xcode: 15.2
47+
os: macos-14
48+
device: "iPhone 15 Pro"
49+
setup_runtime: false
5450
- ios: 16.4
5551
xcode: 14.3.1
5652
os: macos-13
@@ -64,7 +60,7 @@ jobs:
6460
ALLURE_TOKEN: ${{ secrets.ALLURE_TOKEN }}
6561
XCODE_VERSION: ${{ matrix.xcode }}
6662
steps:
67-
- uses: actions/checkout@v3.1.0
63+
- uses: actions/checkout@v4.1.1
6864
- uses: actions/download-artifact@v3
6965
with:
7066
name: cache-derived-data
@@ -122,16 +118,16 @@ jobs:
122118
strategy:
123119
matrix:
124120
include:
125-
- xcode: 15.0.1
126-
os: macos-13
121+
- xcode: 15.2
122+
os: macos-14
127123
- xcode: 14.3.1
128124
os: macos-13
129125
- xcode: 14.2
130126
os: macos-12
131127
fail-fast: false
132128
runs-on: ${{ matrix.os }}
133129
steps:
134-
- uses: actions/checkout@v3.1.0
130+
- uses: actions/checkout@v4.1.1
135131
- uses: ./.github/actions/ruby-cache
136132
- uses: ./.github/actions/xcode-cache
137133
- name: Build Demo App
@@ -151,9 +147,11 @@ jobs:
151147

152148
automated-code-review:
153149
name: Automated Code Review
154-
runs-on: macos-13
150+
runs-on: macos-12
151+
env:
152+
XCODE_VERSION: "14.0.1"
155153
steps:
156-
- uses: actions/checkout@v3.1.0
154+
- uses: actions/checkout@v4.1.1
157155
- uses: ./.github/actions/bootstrap
158156
- run: bundle exec fastlane rubocop
159157
- run: ./Scripts/run-linter.sh

.github/workflows/smoke-checks.yml

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
pull_request:
55
branches:
66
- '**'
7-
# - '!main' TODO: commented until `develop` branch is in place
87

98
workflow_dispatch:
109
inputs:
@@ -20,18 +19,19 @@ concurrency:
2019

2120
env:
2221
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
23-
IOS_SIMULATOR_DEVICE: "iPhone 14 Pro"
22+
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.2)"
2423

2524
jobs:
2625
automated-code-review:
2726
name: Automated Code Review
28-
runs-on: macos-13
27+
runs-on: macos-12
2928
env:
3029
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3130
GITHUB_PR_NUM: ${{ github.event.number }}
31+
XCODE_VERSION: "14.0.1"
3232
if: ${{ github.event_name != 'push' && github.event.inputs.snapshots != 'true' }}
3333
steps:
34-
- uses: actions/checkout@v3.1.0
34+
- uses: actions/checkout@v4.1.1
3535
- uses: ./.github/actions/bootstrap
3636
- name: Run Danger
3737
run: bundle exec danger
@@ -44,10 +44,10 @@ jobs:
4444

4545
build-test-app-and-frameworks:
4646
name: Build Test App and Frameworks
47-
runs-on: macos-13
47+
runs-on: macos-14
4848
if: ${{ github.event_name != 'push' }}
4949
steps:
50-
- uses: actions/checkout@v3.1.0
50+
- uses: actions/checkout@v4.1.1
5151
- uses: ./.github/actions/ruby-cache
5252
- uses: ./.github/actions/xcode-cache
5353
- name: Build
@@ -64,10 +64,10 @@ jobs:
6464
6565
test-ui-debug:
6666
name: Test SwiftUI (Debug)
67-
runs-on: macos-13
67+
runs-on: macos-14
6868
needs: build-test-app-and-frameworks
6969
steps:
70-
- uses: actions/checkout@v3.1.0
70+
- uses: actions/checkout@v4.1.1
7171
- uses: actions/download-artifact@v3
7272
with:
7373
name: cache-derived-data
@@ -116,7 +116,7 @@ jobs:
116116
117117
test-e2e-debug:
118118
name: Test E2E UI (Debug)
119-
runs-on: macos-13
119+
runs-on: macos-14
120120
if: ${{ github.event_name != 'push' && github.event.inputs.snapshots != 'true' }}
121121
needs:
122122
- allure_testops_launch
@@ -128,7 +128,7 @@ jobs:
128128
batch: [0, 1]
129129
fail-fast: false
130130
steps:
131-
- uses: actions/checkout@v3.1.0
131+
- uses: actions/checkout@v4.1.1
132132
- uses: actions/download-artifact@v3
133133
with:
134134
name: cache-derived-data
@@ -142,8 +142,6 @@ jobs:
142142
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
143143
GITHUB_PR_NUM: ${{ github.event.number }}
144144
MATRIX_SIZE: ${{ strategy.job-total }}
145-
IOS_SIMULATOR_DEVICE: "iPhone 14 Pro (16.4)" # TODO: delete this line as soon as Xcode 15 is stable on CI
146-
XCODE_VERSION: "14.3.1" # TODO: delete this line as soon as Xcode 15 is stable on CI
147145
- name: Allure TestOps Upload
148146
if: env.LAUNCH_ID != '' && (success() || failure())
149147
run: bundle exec fastlane allure_upload launch_id:$LAUNCH_ID
@@ -176,7 +174,7 @@ jobs:
176174
outputs:
177175
launch_id: ${{ steps.get_launch_id.outputs.launch_id }}
178176
steps:
179-
- uses: actions/checkout@v3.1.0
177+
- uses: actions/checkout@v4.1.1
180178
- uses: ./.github/actions/ruby-cache
181179
- name: Launch Allure TestOps
182180
run: bundle exec fastlane allure_launch
@@ -190,11 +188,11 @@ jobs:
190188

191189
build-apps:
192190
name: Build Demo App
193-
runs-on: macos-13
191+
runs-on: macos-14
194192
needs: build-test-app-and-frameworks
195193
if: ${{ github.event_name != 'push' && github.event.inputs.snapshots != 'true' }}
196194
steps:
197-
- uses: actions/checkout@v3.1.0
195+
- uses: actions/checkout@v4.1.1
198196
- uses: actions/download-artifact@v3
199197
with:
200198
name: cache-derived-data

.github/workflows/update-copyright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
name: Copyright
1616
runs-on: macos-13
1717
steps:
18-
- uses: actions/checkout@v3.1.0
18+
- uses: actions/checkout@v4.1.1
1919
- uses: ./.github/actions/ruby-cache
2020
- run: bundle exec fastlane copyright
2121
timeout-minutes: 5

Gemfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ gem 'rubocop', '1.38', group: :rubocop_dependencies
1212
gem 'sinatra', group: :sinatra_dependencies
1313
gem 'slather'
1414

15-
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
16-
eval_gemfile(plugins_path) if File.exist?(plugins_path)
15+
eval_gemfile('fastlane/Pluginfile')
1716

1817
group :fastlane_dependencies do
1918
gem 'cocoapods'

Gemfile.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ GEM
2222
ast (2.4.2)
2323
atomos (0.1.3)
2424
aws-eventstream (1.3.0)
25-
aws-partitions (1.883.0)
26-
aws-sdk-core (3.190.3)
25+
aws-partitions (1.885.0)
26+
aws-sdk-core (3.191.0)
2727
aws-eventstream (~> 1, >= 1.3.0)
2828
aws-partitions (~> 1, >= 1.651.0)
2929
aws-sigv4 (~> 1.8)
3030
jmespath (~> 1, >= 1.6.1)
31-
aws-sdk-kms (1.76.0)
32-
aws-sdk-core (~> 3, >= 3.188.0)
31+
aws-sdk-kms (1.77.0)
32+
aws-sdk-core (~> 3, >= 3.191.0)
3333
aws-sigv4 (~> 1.1)
34-
aws-sdk-s3 (1.142.0)
35-
aws-sdk-core (~> 3, >= 3.189.0)
34+
aws-sdk-s3 (1.143.0)
35+
aws-sdk-core (~> 3, >= 3.191.0)
3636
aws-sdk-kms (~> 1)
3737
aws-sigv4 (~> 1.8)
3838
aws-sigv4 (1.8.0)
@@ -46,10 +46,10 @@ GEM
4646
nap
4747
open4 (~> 1.3)
4848
clamp (1.3.2)
49-
cocoapods (1.14.3)
49+
cocoapods (1.15.0)
5050
addressable (~> 2.8)
5151
claide (>= 1.0.2, < 2.0)
52-
cocoapods-core (= 1.14.3)
52+
cocoapods-core (= 1.15.0)
5353
cocoapods-deintegrate (>= 1.0.3, < 2.0)
5454
cocoapods-downloader (>= 2.1, < 3.0)
5555
cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -64,7 +64,7 @@ GEM
6464
nap (~> 1.0)
6565
ruby-macho (>= 2.3.0, < 3.0)
6666
xcodeproj (>= 1.23.0, < 2.0)
67-
cocoapods-core (1.14.3)
67+
cocoapods-core (1.15.0)
6868
activesupport (>= 5.0, < 8)
6969
addressable (~> 2.8)
7070
algoliasearch (~> 1.0)
@@ -308,7 +308,7 @@ GEM
308308
puma (6.4.2)
309309
nio4r (~> 2.0)
310310
racc (1.7.3)
311-
rack (3.0.8)
311+
rack (3.0.9)
312312
rack-protection (4.0.0)
313313
base64 (>= 0.1.0)
314314
rack (>= 3.0.0, < 4)
@@ -376,7 +376,7 @@ GEM
376376
clamp (~> 1.3)
377377
nokogiri (>= 1.14.3)
378378
xcodeproj (~> 1.21)
379-
sqlite3 (1.7.0)
379+
sqlite3 (1.7.2)
380380
mini_portile2 (~> 2.8.0)
381381
terminal-notifier (2.0.0)
382382
terminal-table (3.0.2)
@@ -400,7 +400,7 @@ GEM
400400
xcode-install (2.8.1)
401401
claide (>= 0.9.1)
402402
fastlane (>= 2.1.0, < 3.0.0)
403-
xcodeproj (1.23.0)
403+
xcodeproj (1.24.0)
404404
CFPropertyList (>= 2.3.3, < 4.0)
405405
atomos (~> 0.1.3)
406406
claide (>= 1.0.2, < 2.0)

Githubfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash
22

3-
export ALLURECTL_VERSION='2.14.2'
3+
export ALLURECTL_VERSION='2.15.1'
44
export XCRESULTS_VERSION='1.16.3'

0 commit comments

Comments
 (0)