diff --git a/.github/workflows/primary.yml b/.github/workflows/primary.yml index a2eb9973..1c2bab2e 100644 --- a/.github/workflows/primary.yml +++ b/.github/workflows/primary.yml @@ -18,12 +18,12 @@ on: jobs: primary: name: Primary - runs-on: macOS-11 + runs-on: macOS-13 steps: - 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 @@ -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: 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