Last active
August 30, 2021 16:07
-
-
Save przemek-jablonski/905ae656abd5a519b0c7b9df0c40cf8f to your computer and use it in GitHub Desktop.
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: Multiplatform test x2 | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
schedule: | |
- cron: 0 0 * * * | |
jobs: | |
build-bigsur: | |
runs-on: macos-11 | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Show eligible build destinations for Earendil | |
run: xcodebuild -showdestinations -scheme Earendil | |
- name: Build and test ( macOS 12.0 Monterey) | |
run: xcodebuild test -scheme Earendil -destination 'platform=macOS,arch=x86_64,id=4666018E-420F-C1B5-9525-B145CECA79EB' | |
- name: Build and test ( mac Catalyst 12.0) | |
run: xcodebuild test -scheme Earendil -destination 'platform=macOS,arch=x86_64,variant=Mac Catalyst,id=4666018E-420F-C1B5-9525-B145CECA79EB' | |
- name: Build and test ( tvOS 15.0) | |
run: xcodebuild test -scheme Earendil -destination 'platform=tvOS Simulator,OS=15.0,name=Apple TV 4K (2nd generation)' | |
- name: Build and test ( iOS 15.0) | |
run: xcodebuild test -scheme Earendil -destination 'platform=iOS Simulator,OS=15.0,name=iPhone 12 Pro' | |
- name: Build and test ( watchOS 8.0) | |
run: xcodebuild test -scheme Earendil -destination 'platform=watchOS Simulator,OS=8.0,name=Apple Watch Series 6 - 40mm' | |
build-catalina: | |
runs-on: macos-10.15 | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Switch to xcode 12.0.1 | |
run: sudo xcode-select -s /Applications/Xcode12.0.1.app | |
- name: Show eligible build destinations for Earendil | |
run: xcodebuild -showdestinations -scheme Earendil | |
- name: Build and test ( iOS 14.0) | |
run: xcodebuild test -scheme Earendil -destination 'platform=iOS Simulator,OS=14.0,name=iPhone 11' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment