Skip to content

Commit

Permalink
[Vertex AI] Sample app CI for Xcode 16 (#13833)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard authored Oct 7, 2024
1 parent 3df0883 commit 8cfaf2e
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/vertexai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,16 @@ concurrency:

jobs:
spm-package-resolved:
runs-on: macos-14
strategy:
matrix:
include:
- os: macos-13
xcode: Xcode_15.2
- os: macos-14
xcode: Xcode_15.4
- os: macos-15
xcode: Xcode_16
runs-on: ${{ matrix.os }}
outputs:
cache_key: ${{ steps.generate_cache_key.outputs.cache_key }}
env:
Expand All @@ -30,7 +39,7 @@ jobs:
- name: Generate cache key
id: generate_cache_key
run: |
cache_key="${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}"
cache_key="${{ matrix.os }}-spm-${{ hashFiles('**/Package.resolved') }}"
echo "cache_key=${cache_key}" >> "$GITHUB_OUTPUT"
- uses: actions/cache/save@v4
id: cache
Expand Down Expand Up @@ -129,13 +138,13 @@ jobs:
sample:
strategy:
matrix:
# Test build with debug and release configs (whether or not DEBUG is set and optimization level)
build: [build]
include:
- os: macos-13
xcode: Xcode_15.0.1
- os: macos-14
xcode: Xcode_15.2
- os: macos-14
xcode: Xcode_15.4
- os: macos-15
xcode: Xcode_16
runs-on: ${{ matrix.os }}
needs: spm-package-resolved
env:
Expand Down

0 comments on commit 8cfaf2e

Please sign in to comment.