Skip to content

Commit

Permalink
Use Xcode 15 (which needs macOS 13+)
Browse files Browse the repository at this point in the history
  • Loading branch information
nighthawk committed Nov 24, 2023
1 parent 461932e commit d78cd3e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-dryrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
jobs:
build_docs:
name: Build docs
runs-on: macos-12
runs-on: macos-13
steps:
- name: Checkout main
uses: actions/checkout@v2
uses: actions/checkout@v4
- uses: actions/setup-python@v2
with:
python-version: 3.x
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
jobs:
build_docs:
name: Build and deploy docs
runs-on: macos-12
runs-on: macos-13
steps:
- name: Checkout main
uses: actions/checkout@v2
uses: actions/checkout@v4
- uses: actions/setup-python@v2
with:
python-version: 3.x
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:

jobs:
build_spm:
runs-on: macos-12
runs-on: macos-13

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build
run: swift build --target TripKit

build_xcode:
runs-on: macos-12
runs-on: macos-13

steps:
- uses: maxim-lobanov/setup-xcode@v1
Expand All @@ -31,13 +31,13 @@ jobs:
run: xcodebuild build -quiet -project TripKit.xcodeproj -scheme "TripKitInterApp-iOS" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14'

test_xcode:
runs-on: macos-12
runs-on: macos-13

steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run tests
env:
TRIPGO_API_KEY: ${{ secrets.TRIPGO_API_KEY }}
Expand All @@ -55,13 +55,13 @@ jobs:
# even if the test fails in the previous step.

examples:
runs-on: macos-12
runs-on: macos-13

steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest-stable
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build TripKitUIExample
run: xcodebuild build -quiet -project TripKit.xcodeproj -scheme TripKitUIExample -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14'
- name: Build MiniMap
Expand Down

0 comments on commit d78cd3e

Please sign in to comment.