Skip to content

Sellmair

Sellmair #34

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test-jvm:
runs-on: ubuntu-22.04
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run 'jvmTest'
run: ./gradlew jvmTest
- name: Run 'testDebugUnitTest'
run: ./gradlew testDebugUnitTest
test-snipptes:
runs-on: ubuntu-22.04
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
cache: 'gradle'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Check Snippets
run: ./gradlew checkSnippets
test-native:
runs-on: macOS-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: corretto
java-version: 17
cache: 'gradle'
- name: Cache Kotlin Native
uses: actions/cache@v4
with:
path: |
~/.konan
key: ${{ runner.os }}-konan
restore-keys: ${{ runner.os }}-konan
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Run Native Tests
run: ./gradlew macosArm64Test macosX64Test