Skip to content

Fix meta build

Fix meta build #145

Workflow file for this run

name: pr
on:
pull_request:
branches:
- master
jobs:
build:
strategy:
matrix:
os: [macOS-latest, windows-latest, ubuntu-latest]
runs-on: ${{matrix.os}}
steps:
- name: Checkout the repo
uses: actions/checkout@v2
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Cache gradle
uses: actions/cache@v2
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Cache konan
uses: actions/cache@v2
with:
path: ~/.konan
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: List Tasks
run: ./gradlew tasks --no-daemon --stacktrace
# ktlint
- name: ktlint
if: matrix.os == 'ubuntu-latest'
run: ./gradlew ktlint --no-daemon --stacktrace
- name: Build
run: ./gradlew build --no-daemon --stacktrace
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3g"