Skip to content

Commit

Permalink
CONFIG: Update GH to use macOS 15
Browse files Browse the repository at this point in the history
  • Loading branch information
adamayoung committed Nov 5, 2024
1 parent 08a71c9 commit 92450b1
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ concurrency:
cancel-in-progress: true

env:
DEVELOPER_DIR: /Applications/Xcode_16.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer

jobs:
build-test:
name: Build and Test
runs-on: macos-14
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:

build-and-test-platforms:
name: Build and Test (${{ matrix.name }})
runs-on: macos-14
runs-on: macos-15
continue-on-error: true
strategy:
matrix:
Expand All @@ -63,8 +63,8 @@ jobs:
destination: platform=watchOS Simulator,name=Apple Watch Series 10 (46mm),OS=11.0
- name: tvOS
destination: platform=tvOS Simulator,name=Apple TV 4K (3rd generation),OS=18.0
# - name: visionOS
# destination: platform=visionOS Simulator,name=Apple Vision Pro,OS=2.0
- name: visionOS
destination: platform=visionOS Simulator,name=Apple Vision Pro,OS=2.0
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -75,19 +75,19 @@ jobs:
- name: Test
run: set -o pipefail && NSUnbufferedIO=YES xcodebuild test-without-building -scheme TMDb -only-testing TMDbTests -destination '${{ matrix.destination }}'

# build-test-linux:
# name: Build and Test (Linux)
# runs-on: ubuntu-latest
# container: swiftlang/swift:nightly-6.0-jammy
# steps:
# - name: Checkout
# uses: actions/checkout@v4
build-test-linux:
name: Build and Test (Linux)
runs-on: ubuntu-latest
container: swift:nightly-6.0.2-jammy
steps:
- name: Checkout
uses: actions/checkout@v4

# - name: Build
# run: swift build --build-tests -Xswiftc -warnings-as-errors
- name: Build
run: swift build --build-tests -Xswiftc -warnings-as-errors

# - name: Test
# run: swift test --skip-build --filter TMDbTests
- name: Test
run: swift test --skip-build --filter TMDbTests

# - name: Build for Release
# run: swift build -c release -Xswiftc -warnings-as-errors
- name: Build for Release
run: swift build -c release -Xswiftc -warnings-as-errors
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ concurrency:
cancel-in-progress: true

env:
DEVELOPER_DIR: /Applications/Xcode_16.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer

jobs:
analyze:
name: Analyze
runs-on: macos-14
runs-on: macos-15
timeout-minutes: 120
permissions:
actions: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ concurrency:
cancel-in-progress: true

env:
DEVELOPER_DIR: /Applications/Xcode_16.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer

jobs:
integration-test:
name: Integration Test
runs-on: macos-14
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ concurrency:
jobs:
swiftLint:
name: SwiftLint
runs-on: macos-14
runs-on: macos-15
env:
DEVELOPER_DIR: /Applications/Xcode_16.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_16.1.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 92450b1

Please sign in to comment.