From fc6a2b55503082953ca26cc5550b8737b83bcdd1 Mon Sep 17 00:00:00 2001 From: Ariel Elkin <1756909+arielelkin@users.noreply.github.com> Date: Mon, 29 Jul 2024 18:40:23 +0200 Subject: [PATCH 1/3] Update CI for macOS 13 --- .github/workflows/primary.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/primary.yml b/.github/workflows/primary.yml index a2eb9973..b141c1dc 100644 --- a/.github/workflows/primary.yml +++ b/.github/workflows/primary.yml @@ -18,7 +18,7 @@ on: jobs: primary: name: Primary - runs-on: macOS-11 + runs-on: macOS-13 steps: - uses: actions/checkout@v2 @@ -33,7 +33,7 @@ jobs: spm: name: Swift Package Manager - runs-on: macOS-11 + runs-on: macOS-13 steps: - uses: actions/checkout@v2 - name: Swift Build @@ -41,7 +41,7 @@ jobs: cocoapods: name: Cocoapods - runs-on: macOS-11 + runs-on: macOS-13 steps: - uses: actions/checkout@v2 - name: Lint Podspec @@ -49,7 +49,7 @@ jobs: xcframework: name: XCFramework - runs-on: macOS-11 + runs-on: macOS-13 steps: - uses: actions/checkout@v2 @@ -64,7 +64,7 @@ jobs: create-release: name: Make release - runs-on: macOS-11 + runs-on: macOS-13 if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') # only if tag is pushed needs: [primary, cocoapods, spm, xcframework] steps: From c9ac5bbb87de7c6454c73f5db4e217ba163b2c17 Mon Sep 17 00:00:00 2001 From: Ariel Elkin Date: Mon, 29 Jul 2024 18:42:02 +0200 Subject: [PATCH 2/3] update simulators --- ci/build_demos.sh | 2 +- ci/test.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/build_demos.sh b/ci/build_demos.sh index 14e99abe..b2f89532 100644 --- a/ci/build_demos.sh +++ b/ci/build_demos.sh @@ -12,7 +12,7 @@ set -xeo pipefail rm -rf .build/ rm -rf derived_data/ -IOS_DESTINATION="platform=iOS Simulator,name=iPhone 11 Pro" +IOS_DESTINATION="platform=iOS Simulator,name=iPhone 15" echo "Build iOS demo" xcodebuild \ diff --git a/ci/test.sh b/ci/test.sh index 7b475996..53a674ab 100644 --- a/ci/test.sh +++ b/ci/test.sh @@ -10,12 +10,12 @@ set -xeo pipefail xcodebuild \ -scheme PocketSVG \ - -destination "platform=iOS Simulator,name=iPhone 11 Pro" \ + -destination "platform=iOS Simulator,name=iPhone 15" \ test \ | xcpretty xcodebuild \ -scheme PocketSVG \ - -destination "platform=iOS Simulator,name=iPhone 11 Pro" \ + -destination "platform=iOS Simulator,name=iPhone 15" \ test \ | xcpretty From cea1dd8c9e34c2d6a48d1fea5c7237139c7e48e4 Mon Sep 17 00:00:00 2001 From: Ariel Elkin Date: Mon, 29 Jul 2024 18:43:07 +0200 Subject: [PATCH 3/3] fix xcode version --- .github/workflows/primary.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/primary.yml b/.github/workflows/primary.yml index b141c1dc..1c2bab2e 100644 --- a/.github/workflows/primary.yml +++ b/.github/workflows/primary.yml @@ -23,7 +23,7 @@ jobs: - uses: actions/checkout@v2 - name: Select Xcode - run: sudo xcode-select -s /Applications/Xcode_13.2.app + run: sudo xcode-select -s /Applications/Xcode_15.0.app - name: Build demos run: sh ci/build_demos.sh