mirror of
https://github.com/google/GoogleUtilities
synced 2026-11-11 22:45:53 +05:45
23 lines
560 B
YAML
23 lines
560 B
YAML
name: spm
|
|
|
|
on:
|
|
pull_request:
|
|
schedule:
|
|
# Run every day at 11pm (PST) - cron uses UTC times
|
|
- cron: '0 7 * * *'
|
|
|
|
jobs:
|
|
swift-build-run:
|
|
runs-on: macOS-latest
|
|
strategy:
|
|
matrix:
|
|
target: [iOS, tvOS, macOS, catalyst]
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Setup Scripts Directory
|
|
run: ./setup-scripts.sh
|
|
- name: Initialize xcodebuild
|
|
run: xcodebuild -list
|
|
- name: iOS Unit Tests
|
|
run: scripts/third_party/travis/retry.sh scripts/build.sh GoogleUtilities-Package ${{ matrix.target }} spm
|