diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 8ac7bd04..814c418d 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -39,3 +39,28 @@ jobs: archive \ -scheme GTMAppAuth \ -destination "generic/platform=tvOS" + + xcode-27-preview-archive: + # Archive every supported platform against the Xcode 27 preview image. The + # image is preview, so this job does not block merges. + # https://github.com/actions/runner-images/issues/14404 + runs-on: xcode-27 + continue-on-error: true + strategy: + fail-fast: false + matrix: + destination: [ + 'generic/platform=iOS', + 'platform=OS X', + 'generic/platform=watchOS', + 'generic/platform=tvOS' + ] + + steps: + - uses: actions/checkout@v3 + - name: Archive + run: | + xcodebuild \ + archive \ + -scheme GTMAppAuth \ + -destination "${{ matrix.destination }}" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a18fdf07..0cfdd5a2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,3 +30,17 @@ jobs: run: swift build - name: Run Swift tests run: swift test + + xcode-27-preview-test: + # Xcode 27 is currently only available on the preview `xcode-27` image, on + # which Xcode 27 beta is the only (thus, default) Xcode. The image is + # preview, so this job does not block merges. + # https://github.com/actions/runner-images/issues/14404 + runs-on: xcode-27 + continue-on-error: true + steps: + - uses: actions/checkout@v3 + - name: Build package + run: swift build + - name: Run Swift tests + run: swift test