Change cached directories, suppress warnings

This commit is contained in:
Iaroslav Postovalov 2020-10-12 18:38:26 +07:00
parent 6ab2ebb13f
commit 6f3deb6a24
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7
2 changed files with 14 additions and 7 deletions

View File

@ -18,8 +18,8 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: | path: |
~/.gradle/caches **/.gradle
~/.gradle/wrapper **/build
key: gradle_6_6_1 key: gradle_6_6_1
restore-keys: gradle_6_6_1 restore-keys: gradle_6_6_1
@ -32,7 +32,7 @@ jobs:
key: ${{ runner.os }}-konan-1.4.20-eap-37 key: ${{ runner.os }}-konan-1.4.20-eap-37
restore-keys: ${{ runner.os }}-konan-1.4.20-eap-37 restore-keys: ${{ runner.os }}-konan-1.4.20-eap-37
- name: Build with Gradle - name: Build with Gradle
run: ./gradlew -Dorg.gradle.daemon=false --build-cache :kmath-gsl:cinteropLibgslNative build run: sudo ./gradlew -Dorg.gradle.daemon=false --build-cache :kmath-gsl:cinteropLibgslNative build
build-osx: build-osx:
runs-on: macos-latest runs-on: macos-latest
@ -48,8 +48,8 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: | path: |
~/.gradle/caches **/.gradle
~/.gradle/wrapper **/build
key: gradle_6_6_1 key: gradle_6_6_1
restore-keys: gradle_6_6_1 restore-keys: gradle_6_6_1
@ -79,8 +79,8 @@ jobs:
uses: actions/cache@v2 uses: actions/cache@v2
with: with:
path: | path: |
~/.gradle/caches **/.gradle
~/.gradle/wrapper **/build
key: gradle_6_6_1 key: gradle_6_6_1
restore-keys: gradle_6_6_1 restore-keys: gradle_6_6_1

View File

@ -1,6 +1,13 @@
plugins { id("ru.mipt.npm.mpp") } plugins { id("ru.mipt.npm.mpp") }
kotlin.sourceSets { kotlin.sourceSets {
all {
with(languageSettings) {
useExperimentalAnnotation("kotlinx.coroutines.FlowPreview")
useExperimentalAnnotation("kotlinx.coroutines.ExperimentalCoroutinesApi")
}
}
commonMain { commonMain {
dependencies { dependencies {
api(project(":kmath-coroutines")) api(project(":kmath-coroutines"))