Unverified Commit 23a7d626 authored by Aleksandr Veselov's avatar Aleksandr Veselov Committed by GitHub

Update CI configuration for macOS and iOS tests (#374)

parent 54fb2034
......@@ -17,7 +17,7 @@ on:
jobs:
macos:
# The type of runner that the job will run on
runs-on: macos-10.15
runs-on: macos-11
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
......@@ -30,7 +30,29 @@ jobs:
run: |
cd $GITHUB_WORKSPACE/skiko
./gradlew -Pskiko.native.enabled=true jvmTest
./gradlew -Pskiko.native.enabled=true macosX64Test iosX64Test
./gradlew -Pskiko.native.enabled=true macosX64Test
./gradlew -Pskiko.native.enabled=true publishToMavenLocal
- uses: actions/upload-artifact@v2
with:
name: test-reports-macos
path: ./skiko/build/reports/tests
retention-days: 5
ios:
# The type of runner that the job will run on
runs-on: macos-11
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- shell: bash
run: |
cd $GITHUB_WORKSPACE/skiko
./gradlew -Pskiko.native.enabled=true iosX64Test
./gradlew -Pskiko.native.enabled=true publishToMavenLocal
- uses: actions/upload-artifact@v2
with:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment