Skip to content

Commit

Permalink
ci: add Xcode 16 (#468)
Browse files Browse the repository at this point in the history
* ci: use Xcode 16

* ci: run both 15.4 and 16 Xcode versions
  • Loading branch information
grdsdev authored Sep 24, 2024
1 parent 6683387 commit fd4decf
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 38 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@ jobs:
strategy:
fail-fast: false
matrix:
config:
- debug
- release
xcode: ["15.4", "16"]
config: ["debug", "release"]
runs-on: macos-14
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Select Xcode 15.4
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: CONFIG="${{ matrix.config }}" make test-auth

Expand All @@ -42,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
swift-version: ["5.9", "5.10"]
swift-version: ["5.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,23 @@ jobs:
strategy:
fail-fast: false
matrix:
config:
- debug
- release
xcode: ["15.4", "16"]
config: ["debug", "release"]
runs-on: macos-14
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Select Xcode 15.4
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: CONFIG="${{ matrix.config }}" make test-functions
test-linux:
name: Test Functions (Linux)
strategy:
fail-fast: false
matrix:
swift-version: ["5.9", "5.10"]
swift-version: ["5.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Select Xcode 15.4
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Select Xcode 16
run: sudo xcode-select -s /Applications/Xcode_16.app
- name: Run tests
run: make test-integration
env:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/postgrest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,23 @@ jobs:
strategy:
fail-fast: false
matrix:
config:
- debug
- release
xcode: ["15.4", "16"]
config: ["debug", "release"]
runs-on: macos-14
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Select Xcode 15.4
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: CONFIG="${{ matrix.config }}" make test-postgrest
test-linux:
name: Test Postgrest (Linux)
strategy:
fail-fast: false
matrix:
swift-version: ["5.9", "5.10"]
swift-version: ["5.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/realtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,23 @@ jobs:
strategy:
fail-fast: false
matrix:
config:
- debug
- release
xcode: ["15.4", "16"]
config: ["debug", "release"]
runs-on: macos-14
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Select Xcode 15.4
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: CONFIG="${{ matrix.config }}" make test-realtime
test-linux:
name: Test Realtime (Linux)
strategy:
fail-fast: false
matrix:
swift-version: ["5.9", "5.10"]
swift-version: ["5.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,23 @@ jobs:
strategy:
fail-fast: false
matrix:
config:
- debug
- release
xcode: ["15.4", "16"]
config: ["debug", "release"]
runs-on: macos-14
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Select Xcode 15.4
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: CONFIG="${{ matrix.config }}" make test-storage
test-linux:
name: Test Storage (Linux)
strategy:
fail-fast: false
matrix:
swift-version: ["5.9", "5.10"]
swift-version: ["5.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/supabase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,23 @@ jobs:
strategy:
fail-fast: false
matrix:
config:
- debug
- release
xcode: ["15.4", "16"]
config: ["debug", "release"]
runs-on: macos-14
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Select Xcode 15.4
run: sudo xcode-select -s /Applications/Xcode_15.4.app
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: CONFIG="${{ matrix.config }}" make test-library
test-linux:
name: Test Supabase (Linux)
strategy:
fail-fast: false
matrix:
swift-version: ["5.9", "5.10"]
swift-version: ["5.10"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit fd4decf

Please sign in to comment.