Skip to content

Instantly share code, notes, and snippets.

@przemek-jablonski
Last active August 27, 2021 17:27
Show Gist options
  • Save przemek-jablonski/b9771c50325ecab074685826fe70256e to your computer and use it in GitHub Desktop.
Save przemek-jablonski/b9771c50325ecab074685826fe70256e to your computer and use it in GitHub Desktop.
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