spm #423
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: spm | |
| on: | |
| pull_request: | |
| schedule: | |
| # Run every day at 11pm (PST) - cron uses UTC times | |
| - cron: '0 7 * * *' | |
| jobs: | |
| swiftpm-build-tests: | |
| runs-on: macOS-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Initialize xcodebuild | |
| run: xcodebuild -list | |
| - name: Install Simulators | |
| run: | | |
| xcodebuild -downloadPlatform iOS | |
| xcodebuild -downloadPlatform tvOS | |
| - name: iOS Simulator Build Tests | |
| run: xcodebuild -scheme BoringSSL-GRPC build -sdk 'iphonesimulator' -destination 'generic/platform=iOS Simulator' | |
| - name: macos Build Tests | |
| run: xcodebuild -scheme BoringSSL-GRPC build -sdk 'macosx' -destination 'platform=OS X,arch=x86_64', | |
| - name: tvOS Build Tests | |
| run: xcodebuild -scheme BoringSSL-GRPC build -sdk "appletvsimulator" -destination 'generic/platform=tvOS Simulator' | |
| - name: iOS Device Build Tests | |
| run: xcodebuild -scheme BoringSSL-GRPC build -sdk 'iphoneos' -destination 'generic/platform=iOS' |