Skip to content

Commit

Permalink
add ci
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Mar 7, 2025
1 parent 7992883 commit a870da3
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/vertexai.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: vertexai

on:
pull_request:
paths:
- 'vertexai/**'
schedule:
# Run every day at 11pm (PST) - cron uses UTC times
- cron: '0 7 * * *'
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
spm:
name: spm (Xcode ${{ matrix.xcode }} - ${{ matrix.os }})
runs-on: macOS-15
strategy:
matrix:
xcode: ["16.1"]
os: [iOS, tvOS, macOS]
include:
- os: iOS
device: iPhone 16
- os: tvOS
device: Apple TV 4K (3rd generation) (at 1080p)
- os: macOS
device: localhost
env:
SETUP: vertexai
SPM: true
DIR: vertexai
OS: ${{ matrix.os }}
DEVICE: ${{ matrix.device }}
TEST: false
XCODE_VERSION: ${{ matrix.xcode }}
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup
run: |
gem install xcpretty
- name: Build and Test SwiftUI (${{ matrix.os }})
run: ./scripts/test.sh

0 comments on commit a870da3

Please sign in to comment.