Run check on Ubuntu & iosX64Test on macOS
This commit is contained in:
parent
94bccacb2d
commit
b2505667d1
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@ -4,7 +4,11 @@ on: [ push, pull_request ]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: macos-latest
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ ubuntu-latest, macos-latest ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -28,6 +32,10 @@ jobs:
|
|||||||
java-version: 1.8
|
java-version: 1.8
|
||||||
|
|
||||||
- run: ./gradlew check
|
- run: ./gradlew check
|
||||||
|
if: matrix.os == 'ubuntu-latest'
|
||||||
|
|
||||||
|
- run: ./gradlew iosX64Test
|
||||||
|
if: matrix.os == 'macos-latest'
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: check
|
needs: check
|
||||||
|
Loading…
Reference in New Issue
Block a user