kmath/.github/workflows/gradle.yml

36 lines
888 B
YAML
Raw Normal View History

2019-12-08 10:59:49 +03:00
name: Gradle build
on: [push]
jobs:
2020-10-04 09:22:00 +03:00
build-ubuntu:
2019-12-08 10:59:49 +03:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Install libgsl-dev
run: sudo apt install libgsl-dev
- name: Cache gradle
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: gradle_6_6_1
restore-keys: gradle_6_6_1
- name: Cache konan
uses: actions/cache@v2
with:
path: |
~/.konan/dependencies
2020-10-04 09:01:52 +03:00
~/.konan/kotlin-native-prebuilt-linux-1.4.20-eap-37
key: ${{ runner.os }}-konan-1.4.0
restore-keys: ${{ runner.os }}-konan-1.4.0
2019-12-08 10:59:49 +03:00
- name: Build with Gradle
2020-10-04 09:10:20 +03:00
run: ./gradlew -Dorg.gradle.daemon=false --build-cache :kmath-gsl:cinteropLibgslNative build