feat: basic logging on iOS #62
Workflow file for this run
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
strategy: | |
matrix: | |
config: [ | |
{ target: jvm, os: ubuntu-latest, tasks: jvmTest, continueOnError: false }, | |
{ target: apple, os: macos-latest, tasks: iosX64Test iosSimulatorArm64Test, continueOnError: false }, | |
] | |
runs-on: ${{ matrix.config.os }} | |
steps: | |
# Cancel any previous runs for the same branch that are still running. | |
- name: 'Cancel previous runs' | |
uses: styfle/[email protected] | |
- uses: actions/checkout@v3 | |
- name: 'Setup gradle' | |
uses: gradle/gradle-build-action@v2 | |
with: | |
access_token: ${{ github.token }} | |
- name: 'Set up JDK 17' | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'zulu' | |
- name: Test ${{ matrix.config.target }} targets | |
continue-on-error: ${{ matrix.config.continueOnError }} | |
run: ./gradlew ${{ matrix.config.tasks }} |