mirror of
https://github.com/google/GoogleUtilities
synced 2026-11-10 22:35:54 +05:45
27 lines
670 B
YAML
27 lines
670 B
YAML
name: spm
|
|
|
|
on:
|
|
pull_request:
|
|
schedule:
|
|
# Run every day at 11pm (PST) - cron uses UTC times
|
|
- cron: '0 7 * * *'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
swift-build-run:
|
|
runs-on: macOS-latest
|
|
strategy:
|
|
matrix:
|
|
target: [iOS, tvOS, macOS, catalyst]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- 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
|