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:
parent
2c0e009876
commit
f0a237e9c2
15
.github/workflows/build-ios.yml
vendored
15
.github/workflows/build-ios.yml
vendored
@ -1,9 +1,10 @@
|
|||||||
name: Build iOS
|
name: Build iOS
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
paths:
|
paths:
|
||||||
- '.github/workflows/build-ios.yml'
|
- '.github/workflows/build-ios.yml'
|
||||||
- 'ios/**'
|
- 'ios/**'
|
||||||
@ -19,7 +20,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build iOS Example App
|
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:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: examples/basic/ios
|
working-directory: examples/basic/ios
|
||||||
@ -62,13 +63,13 @@ jobs:
|
|||||||
-scheme videoplayer \
|
-scheme videoplayer \
|
||||||
-sdk iphonesimulator \
|
-sdk iphonesimulator \
|
||||||
-configuration Debug \
|
-configuration Debug \
|
||||||
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
|
-destination 'platform=iOS Simulator,name=iPhone 14' \
|
||||||
build \
|
build \
|
||||||
CODE_SIGNING_ALLOWED=NO | xcpretty"
|
CODE_SIGNING_ALLOWED=NO | xcpretty"
|
||||||
|
|
||||||
build-with-ads:
|
build-with-ads:
|
||||||
name: Build iOS Example App 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:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: examples/basic/ios
|
working-directory: examples/basic/ios
|
||||||
@ -111,13 +112,13 @@ jobs:
|
|||||||
-scheme videoplayer \
|
-scheme videoplayer \
|
||||||
-sdk iphonesimulator \
|
-sdk iphonesimulator \
|
||||||
-configuration Debug \
|
-configuration Debug \
|
||||||
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
|
-destination 'platform=iOS Simulator,name=iPhone 14' \
|
||||||
build \
|
build \
|
||||||
CODE_SIGNING_ALLOWED=NO | xcpretty"
|
CODE_SIGNING_ALLOWED=NO | xcpretty"
|
||||||
|
|
||||||
build-with-caching:
|
build-with-caching:
|
||||||
name: Build iOS Example App 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:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: examples/basic/ios
|
working-directory: examples/basic/ios
|
||||||
@ -160,6 +161,6 @@ jobs:
|
|||||||
-scheme videoplayer \
|
-scheme videoplayer \
|
||||||
-sdk iphonesimulator \
|
-sdk iphonesimulator \
|
||||||
-configuration Debug \
|
-configuration Debug \
|
||||||
-destination 'platform=iOS Simulator,name=iPhone 11 Pro' \
|
-destination 'platform=iOS Simulator,name=iPhone 14' \
|
||||||
build \
|
build \
|
||||||
CODE_SIGNING_ALLOWED=NO | xcpretty"
|
CODE_SIGNING_ALLOWED=NO | xcpretty"
|
2
.github/workflows/check-ios.yml
vendored
2
.github/workflows/check-ios.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
WORKING_DIRECTORY: ios
|
WORKING_DIRECTORY: ios
|
||||||
Swift-Format:
|
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:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./ios
|
working-directory: ./ios
|
||||||
|
Loading…
Reference in New Issue
Block a user