Skip to content

Commit 8af3734

Browse files
committed
Add CI workflow for Vertex AI (#12577)
1 parent 92f6a1d commit 8af3734

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/vertexai.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: vertexai
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'FirebaseVertexAI**'
7+
- '.github/workflows/vertexai.yml'
8+
- 'Gemfile*'
9+
schedule:
10+
# Run every day at 11pm (PST) - cron uses UTC times
11+
- cron: '0 7 * * *'
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
15+
cancel-in-progress: true
16+
17+
jobs:
18+
spm:
19+
strategy:
20+
matrix:
21+
target: [iOS, macOS, catalyst]
22+
os: [macos-13]
23+
include:
24+
- os: macos-13
25+
xcode: Xcode_15.2
26+
runs-on: ${{ matrix.os }}
27+
env:
28+
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
29+
steps:
30+
- uses: actions/checkout@v4
31+
- name: Xcode
32+
run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer
33+
- name: Initialize xcodebuild
34+
run: xcodebuild -list
35+
# TODO: Add unit tests and switch from `spmbuildonly` to `spm`.
36+
- name: Build
37+
run: scripts/third_party/travis/retry.sh scripts/build.sh FirebaseVertexAI ${{ matrix.target }} spmbuildonly

0 commit comments

Comments
 (0)