Last active
August 27, 2021 17:27
-
-
Save przemek-jablonski/b9771c50325ecab074685826fe70256e 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
jobs: | |
build-and-test: | |
name: ${{ matrix.command }} on ${{ matrix.platform }} (xcode ${{ matrix.xcode }}, ${{ matrix.macos }}) | |
runs-on: ${{ matrix.macos }} #os switching | |
strategy: | |
fail-fast: false #if 'true' then one failed job cancels all jobs remaining | |
matrix: | |
xcode: ['13.0', '12.5.1', '12.0.1'] | |
macos: ['macos-11', 'macos-10.15'] | |
scheme: ['Earendil'] | |
command: ['test'] | |
platform: ['macOS', 'iOS', 'tvOS', 'watchOS', 'mac-catalyst'] | |
steps: | |
- uses: maxim-lobanov/[email protected] | |
with: | |
xcode-version: ${{ matrix.xcode }} | |
- uses: mxcl/[email protected] | |
with: | |
platform: ${{ matrix.platform }} | |
scheme: ${{ matrix.scheme }} | |
action: ${{ matrix.command }} | |
code-coverage: true | |
verbosity: xcpretty | |
upload-logs: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment