Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI for macOS 13 #221

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/primary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -33,23 +33,23 @@ jobs:

spm:
name: Swift Package Manager
runs-on: macOS-11
runs-on: macOS-13
steps:
- uses: actions/checkout@v2
- name: Swift Build
run: swift build

cocoapods:
name: Cocoapods
runs-on: macOS-11
runs-on: macOS-13
steps:
- uses: actions/checkout@v2
- name: Lint Podspec
run: pod lib lint

xcframework:
name: XCFramework
runs-on: macOS-11
runs-on: macOS-13
steps:
- uses: actions/checkout@v2

Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion ci/build_demos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading