Skip to content

Commit 57e6bbf

Browse files
[FSSDK-11964] fix: update CI, simulators and xcode version to 15.3 (#617)
* update xcode version * Update unit_tests.yml * Update swift.yml * Update unit_tests.yml * Update unit_tests.yml * Update unit_tests.yml
1 parent 50c66b1 commit 57e6bbf

File tree

2 files changed

+25
-25
lines changed

2 files changed

+25
-25
lines changed

.github/workflows/swift.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,39 +22,39 @@ env:
2222
jobs:
2323

2424
lint_markdown_files:
25-
uses: optimizely/swift-sdk/.github/workflows/lint_markdown.yml@master
25+
uses: optimizely/swift-sdk/.github/workflows/lint_markdown.yml@fix-release-process
2626

2727
integration_tests:
2828
if: "${{ github.event.inputs.PREP == '' && github.event.inputs.RELEASE == '' }}"
29-
uses: optimizely/swift-sdk/.github/workflows/integration_tests.yml@master
29+
uses: optimizely/swift-sdk/.github/workflows/integration_tests.yml@fix-release-process
3030
secrets:
3131
CI_USER_TOKEN: ${{ secrets.CI_USER_TOKEN }}
3232

33-
lint:
34-
runs-on: macos-15
33+
lint:
34+
runs-on: macos-14
3535
steps:
3636
- uses: actions/checkout@v3
3737
- uses: maxim-lobanov/setup-xcode@v1
3838
with:
39-
xcode-version: 16.1.0
39+
xcode-version: 15.3
4040
- env:
4141
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }}
4242
run: |
4343
gem install cocoapods -v '1.15.2'
44-
pod spec lint --quick
44+
pod spec lint --quick --allow-warnings
4545
curl -sSL https://download.sourceclear.com/ci.sh | bash
4646
4747
unittests:
4848
if: "${{ github.event.inputs.PREP == '' && github.event.inputs.RELEASE == '' }}"
49-
uses: optimizely/swift-sdk/.github/workflows/unit_tests.yml@master
49+
uses: optimizely/swift-sdk/.github/workflows/unit_tests.yml@fix-release-process
5050
prepare_for_release:
5151
runs-on: macos-15
52-
if: "${{ github.event.inputs.PREP == 'true' && github.event_name == 'workflow_dispatch' }}"
52+
if: "${{ github.event.inputs.PREP == 'true' && github.event_name == 'workflow_dispatch' }}"
5353
steps:
5454
- uses: actions/checkout@v3
5555
- uses: maxim-lobanov/setup-xcode@v1
5656
with:
57-
xcode-version: 16.1.0
57+
xcode-version: 15.3
5858
- name: Install Hub by Homebrew
5959
run: |
6060
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@@ -77,12 +77,12 @@ jobs:
7777

7878
release:
7979
if: "${{github.event.inputs.RELEASE == 'true' && github.event_name == 'workflow_dispatch' }}"
80-
runs-on: macos-15
80+
runs-on: macos-14
8181
steps:
8282
- uses: actions/checkout@v3
8383
- uses: maxim-lobanov/setup-xcode@v1
8484
with:
85-
xcode-version: 16.1.0
85+
xcode-version: 15.3
8686
- name: Install Hub by Homebrew
8787
run: |
8888
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@@ -97,4 +97,4 @@ jobs:
9797
COCOAPODS_VERSION: '1.15.2'
9898
run: |
9999
gem install cocoapods -v $COCOAPODS_VERSION
100-
Scripts/run_release.sh
100+
Scripts/run_release.sh

.github/workflows/unit_tests.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ env:
77

88
jobs:
99
unittests:
10-
runs-on: macos-15
10+
runs-on: macos-14
1111
strategy:
1212
fail-fast: false
1313
matrix:
@@ -18,40 +18,40 @@ jobs:
1818
# also, the xcode version (simulator_xcode_version) and simulator os versions (os) are moving target. We have to change these time to time.
1919
# - see "https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md" for installed macOS, xcode and simulator versions.
2020
include:
21-
- os: 18.4
22-
device: "iPhone 16"
21+
- os: 17.2
22+
device: "iPhone 15"
2323
scheme: "OptimizelySwiftSDK-iOS"
2424
test_sdk: "iphonesimulator"
2525
platform: "iOS Simulator"
2626
os_type: "iOS"
27-
simulator_xcode_version: 16.3
28-
- os: 18.5
29-
device: "iPhone 16 Plus"
27+
simulator_xcode_version: 15.3
28+
- os: 17.4
29+
device: "iPad Pro 11-inch (M4)"
3030
scheme: "OptimizelySwiftSDK-iOS"
3131
test_sdk: "iphonesimulator"
3232
platform: "iOS Simulator"
3333
os_type: "iOS"
34-
simulator_xcode_version: 16.4
35-
- os: 18.6
36-
device: "iPad Air 11-inch (M2)"
34+
simulator_xcode_version: 15.3
35+
- os: 18.2
36+
device: "iPhone 16"
3737
scheme: "OptimizelySwiftSDK-iOS"
3838
test_sdk: "iphonesimulator"
3939
platform: "iOS Simulator"
4040
os_type: "iOS"
41-
simulator_xcode_version: 16.4
42-
- os: 18.5
41+
simulator_xcode_version: 15.3
42+
- os: 17.5
4343
device: "Apple TV"
4444
scheme: "OptimizelySwiftSDK-tvOS"
4545
test_sdk: "appletvsimulator"
4646
platform: "tvOS Simulator"
4747
os_type: "tvOS"
48-
simulator_xcode_version: 16.4
48+
simulator_xcode_version: 15.3
4949
steps:
5050
- uses: actions/checkout@v3
5151
- uses: maxim-lobanov/setup-xcode@v1
5252
with:
5353
# macos version and supported simulator_xcode_versions are all related to this xcode_version, so be careful when you upgrade this.
54-
xcode-version: 16.4
54+
xcode-version: 15.3
5555
- name: set SDK Branch if PR
5656
env:
5757
BASE_REF: ${{ github.base_ref }}

0 commit comments

Comments
 (0)