diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 9873716..5f119e6 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -42,3 +42,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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Archive + run: | + xcodebuild \ + archive \ + -scheme GTMAppAuth \ + -destination "${{ matrix.destination }}" diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 00aab72..6874532 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,3 +33,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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - name: Build package + run: swift build + - name: Run Swift tests + run: swift test