From f4d833e76344c2af0e29ed650412516ba0424b89 Mon Sep 17 00:00:00 2001 From: Krzysztof Moch Date: Thu, 8 Feb 2024 14:34:04 +0100 Subject: [PATCH] chore(ci): use `macos-14` for iOS builds --- .github/workflows/build-ios.yml | 13 +++++++------ .github/workflows/check-ios.yml | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-ios.yml b/.github/workflows/build-ios.yml index cf969a3476..52f67cebb7 100644 --- a/.github/workflows/build-ios.yml +++ b/.github/workflows/build-ios.yml @@ -1,6 +1,7 @@ name: Build iOS on: + workflow_dispatch: push: branches: - main @@ -19,7 +20,7 @@ on: jobs: build: name: Build iOS Example App - runs-on: macOS-latest + runs-on: macos-14 # This allow us to use Xcode 15.0.1 which is a lot faster - TODO change to "macos-latest" once it's out of beta defaults: run: working-directory: examples/basic/ios @@ -62,13 +63,13 @@ jobs: -scheme videoplayer \ -sdk iphonesimulator \ -configuration Debug \ - -destination 'platform=iOS Simulator,name=iPhone 11 Pro' \ + -destination 'platform=iOS Simulator,name=iPhone 14' \ build \ CODE_SIGNING_ALLOWED=NO | xcpretty" build-with-ads: name: Build iOS Example App With Ads - runs-on: macOS-latest + runs-on: macos-14 # This allow us to use Xcode 15.0.1 which is a lot faster - TODO change to "macos-latest" once it's out of beta defaults: run: working-directory: examples/basic/ios @@ -111,13 +112,13 @@ jobs: -scheme videoplayer \ -sdk iphonesimulator \ -configuration Debug \ - -destination 'platform=iOS Simulator,name=iPhone 11 Pro' \ + -destination 'platform=iOS Simulator,name=iPhone 14' \ build \ CODE_SIGNING_ALLOWED=NO | xcpretty" build-with-caching: name: Build iOS Example App With Caching - runs-on: macOS-latest + runs-on: macos-14 # This allow us to use Xcode 15.0.1 which is a lot faster - TODO change to "macos-latest" once it's out of beta defaults: run: working-directory: examples/basic/ios @@ -160,6 +161,6 @@ jobs: -scheme videoplayer \ -sdk iphonesimulator \ -configuration Debug \ - -destination 'platform=iOS Simulator,name=iPhone 11 Pro' \ + -destination 'platform=iOS Simulator,name=iPhone 14' \ build \ CODE_SIGNING_ALLOWED=NO | xcpretty" \ No newline at end of file diff --git a/.github/workflows/check-ios.yml b/.github/workflows/check-ios.yml index 621522de7b..5becf7e7cf 100644 --- a/.github/workflows/check-ios.yml +++ b/.github/workflows/check-ios.yml @@ -24,7 +24,7 @@ jobs: env: WORKING_DIRECTORY: ios Swift-Format: - runs-on: macOS-latest + runs-on: macos-14 # This allow us to use Xcode 15.0.1 which is a lot faster - TODO change to "macos-latest" once it's out of beta defaults: run: working-directory: ./ios