Kotlin 1.4-M3, fixed CI glitches & fixed build on Mac (#4)

* Kotlin 1.4-M3, fixed CI glitches & fixed build on Mac

* Fixes https://github.com/eskatos/gradle-command-action/issues/24

* Explicit mode requirements in Android tests

Co-authored-by: Salomon BRYS <salomon@kodein.net>
This commit is contained in:
Salomon BRYS
2020-07-06 21:45:17 +02:00
committed by GitHub
parent 316e585e4c
commit c5dbc42496
8 changed files with 34 additions and 25 deletions

View File

@@ -29,7 +29,7 @@ jobs:
- name: Check
uses: eskatos/gradle-command-action@v1
with:
wrapper-cache-enabled: true
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
arguments: iosX64Test
- name: Publish
uses: eskatos/gradle-command-action@v1
@@ -37,6 +37,7 @@ jobs:
BINTRAY_USER: ${{ secrets.bintray_user }}
BINTRAY_APIKEY: ${{ secrets.bintray_apikey }}
with:
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
arguments: publishIosArm64PublicationToBintrayRepository publishIosX64PublicationToBintrayRepository
publish:
@@ -60,7 +61,7 @@ jobs:
- name: Check
uses: eskatos/gradle-command-action@v1
with:
wrapper-cache-enabled: true
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
arguments: check
- name: Publish
uses: eskatos/gradle-command-action@v1
@@ -68,4 +69,5 @@ jobs:
BINTRAY_USER: ${{ secrets.bintray_user }}
BINTRAY_APIKEY: ${{ secrets.bintray_apikey }}
with:
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
arguments: publishAllPublicationsToBintrayRepository

View File

@@ -8,8 +8,8 @@ on:
- '**.md'
- '**.adoc'
- '**/.gitignore'
- './github/**'
- '!./github/workflow/snapshot.yml'
- '.github/**'
- '!.github/workflows/snapshot.yml'
jobs:
@@ -36,7 +36,7 @@ jobs:
- name: Check
uses: eskatos/gradle-command-action@v1
with:
wrapper-cache-enabled: true
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
arguments: iosX64Test
- name: Publish
uses: eskatos/gradle-command-action@v1
@@ -44,6 +44,7 @@ jobs:
BINTRAY_USER: ${{ secrets.bintray_user }}
BINTRAY_APIKEY: ${{ secrets.bintray_apikey }}
with:
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
arguments: publishIosArm64PublicationToBintrayRepository publishIosX64PublicationToBintrayRepository -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }} -PgitSha=${{ github.sha }}
publish:
@@ -67,7 +68,7 @@ jobs:
- name: Check
uses: eskatos/gradle-command-action@v1
with:
wrapper-cache-enabled: true
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
arguments: check
- name: Publish
uses: eskatos/gradle-command-action@v1
@@ -75,4 +76,5 @@ jobs:
BINTRAY_USER: ${{ secrets.bintray_user }}
BINTRAY_APIKEY: ${{ secrets.bintray_apikey }}
with:
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
arguments: publishAllPublicationsToBintrayRepository -PsnapshotNumber=${{ github.run_number }} -PgitRef=${{ github.ref }} -PgitSha=${{ github.sha }}

View File

@@ -1,16 +1,22 @@
name: Check
on:
push:
branches:
- 'master'
pull_request:
pull_request:
paths-ignore:
- '**.md'
- '**.adoc'
- '**/.gitignore'
- './github/**'
- '!./github/workflow/test.yml'
- '.github/**'
- '!.github/workflows/test.yml'
push:
branches:
- 'master'
paths-ignore:
- '**.md'
- '**.adoc'
- '**/.gitignore'
- '.github/**'
- '!.github/workflows/test.yml'
jobs:
@@ -35,12 +41,14 @@ jobs:
- name: Check JNI
uses: eskatos/gradle-command-action@v1
with:
wrapper-cache-enabled: true
dependencies-cache-enabled: true
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
dependencies-cache-enabled: false
arguments: jvmTest -PnoCrossCompile=true
- name: Check Linux
uses: eskatos/gradle-command-action@v1
with:
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
dependencies-cache-enabled: false
arguments: linuxTest -PnoCrossCompile=true
macos:
@@ -66,8 +74,8 @@ jobs:
- name: Check iOS
uses: eskatos/gradle-command-action@v1
with:
wrapper-cache-enabled: true
dependencies-cache-enabled: true
wrapper-cache-enabled: false # https://github.com/eskatos/gradle-command-action/issues/24
dependencies-cache-enabled: false
arguments: iosX64Test -PnoCrossCompile=true
- name: Check Android
uses: reactivecircus/android-emulator-runner@v2