Skip to content

Commit

Permalink
chore(ci): use macos-14 for iOS builds (#3526)
Browse files Browse the repository at this point in the history
* chore(ci): use `macos-14` for iOS builds

* change triggering branch
  • Loading branch information
KrzysztofMoch authored Feb 9, 2024
1 parent 2c0e009 commit f0a237e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Build iOS

on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- '.github/workflows/build-ios.yml'
- 'ios/**'
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
2 changes: 1 addition & 1 deletion .github/workflows/check-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit f0a237e

@castdrian
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi you can also use xcode 15 on macos 13 runners, just need to use the xcode select action or manually select the xcode version

Please sign in to comment.