From fd4decfe2f1abd2a8941f8651ac593785016eaae Mon Sep 17 00:00:00 2001 From: Guilherme Souza Date: Tue, 24 Sep 2024 10:26:38 -0300 Subject: [PATCH] ci: add Xcode 16 (#468) * ci: use Xcode 16 * ci: run both 15.4 and 16 Xcode versions --- .github/workflows/auth.yml | 11 +++++------ .github/workflows/functions.yml | 11 +++++------ .github/workflows/integration-tests.yml | 4 ++-- .github/workflows/postgrest.yml | 11 +++++------ .github/workflows/realtime.yml | 11 +++++------ .github/workflows/storage.yml | 11 +++++------ .github/workflows/supabase.yml | 11 +++++------ 7 files changed, 32 insertions(+), 38 deletions(-) diff --git a/.github/workflows/auth.yml b/.github/workflows/auth.yml index a00e1fb2..68c4283a 100644 --- a/.github/workflows/auth.yml +++ b/.github/workflows/auth.yml @@ -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 @@ -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 diff --git a/.github/workflows/functions.yml b/.github/workflows/functions.yml index af8a8cb9..d1c0c404 100644 --- a/.github/workflows/functions.yml +++ b/.github/workflows/functions.yml @@ -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-functions test-linux: @@ -41,7 +40,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 diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index c0a52a2b..70234556 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -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: diff --git a/.github/workflows/postgrest.yml b/.github/workflows/postgrest.yml index 39283703..01e1087a 100644 --- a/.github/workflows/postgrest.yml +++ b/.github/workflows/postgrest.yml @@ -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-postgrest test-linux: @@ -41,7 +40,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 diff --git a/.github/workflows/realtime.yml b/.github/workflows/realtime.yml index 93e22346..477de541 100644 --- a/.github/workflows/realtime.yml +++ b/.github/workflows/realtime.yml @@ -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-realtime test-linux: @@ -41,7 +40,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 diff --git a/.github/workflows/storage.yml b/.github/workflows/storage.yml index 9b045326..cbeafeba 100644 --- a/.github/workflows/storage.yml +++ b/.github/workflows/storage.yml @@ -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-storage test-linux: @@ -41,7 +40,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 diff --git a/.github/workflows/supabase.yml b/.github/workflows/supabase.yml index c2718465..21464992 100644 --- a/.github/workflows/supabase.yml +++ b/.github/workflows/supabase.yml @@ -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-library test-linux: @@ -41,7 +40,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