chore(ci): use macos-14 for iOS builds (#3526)

* chore(ci): use `macos-14` for iOS builds

* change triggering branch
This commit is contained in:
Krzysztof Moch 2024-02-09 15:24:10 +01:00 committed by GitHub
parent 2c0e009876
commit f0a237e9c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 8 deletions

View File

@ -1,9 +1,10 @@
name: Build iOS
on:
workflow_dispatch:
push:
branches:
- main
- master
paths:
- '.github/workflows/build-ios.yml'
- 'ios/**'
@ -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"

View File

@ -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