Skip to content

Commit

Permalink
Move CI to macos-14 and use Xcode 14.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasvl committed Feb 27, 2024
1 parent 42ed23d commit 7f57936
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/cocoapods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

jobs:
pod-lib-lint:
runs-on: macos-latest
runs-on: macos-14
strategy:
fail-fast: false
matrix:
Expand All @@ -32,6 +32,9 @@ jobs:
PLATFORM: ["ios", "macos", "tvos", "watchos --skip-tests"]
CONFIGURATION: ["Debug", "Release"]
steps:
# The "macos-14" image defaults to 15.0.1, select the newer Xcode.
- name: Xcode version
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- uses: actions/checkout@v4
# Manually expanding out static frameworks to avoid making to many jobs.
- name: Pod lib lint
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/swiftpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ on:
jobs:
swift:
# The swift command line only support build/testing for macOS on.
runs-on: macos-latest
runs-on: macos-14
strategy:
fail-fast: false
matrix:
CONFIGURATION: ["debug", "release"]
steps:
# The "macos-14" image defaults to 15.0.1, select the newer Xcode.
- name: Xcode version
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- uses: actions/checkout@v4
- name: Build and Test
run: |
Expand All @@ -42,13 +45,16 @@ jobs:
xcodebuild:
# Job(s) to build for all the platforms to ensure that is working and the
# tests are passing.
runs-on: macos-latest
runs-on: macos-14
strategy:
fail-fast: false
matrix:
PLATFORM: ["ios", "macos", "tvos", "watchos"]
CONFIGURATION: ["Debug", "Release"]
steps:
# The "macos-14" image defaults to 15.0.1, select the newer Xcode.
- name: Xcode version
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- uses: actions/checkout@v4
- name: Build and Test
run: |
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:

jobs:
xcodebuild:
runs-on: macos-latest
runs-on: macos-14
strategy:
fail-fast: false
matrix:
Expand All @@ -28,6 +28,9 @@ jobs:
PLATFORM: ["macOS"]
CONFIGURATION: ["Debug", "Release"]
steps:
# The "macos-14" image defaults to 15.0.1, select the newer Xcode.
- name: Xcode version
run: sudo xcode-select -switch /Applications/Xcode_15.2.app
- uses: actions/checkout@v4
- name: Build
run: |
Expand Down

0 comments on commit 7f57936

Please sign in to comment.