Skip to content

Build KMP

Build KMP #4

Workflow file for this run

name: Build KMP
on:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
include:
- target: iosSimulatorArm64Test
os: macos-latest
- target: testReleaseUnitTest
os: ubuntu-latest
- target: desktopTest
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: "zulu"
- name: Setup Gradle cache
uses: actions/cache@v3
with:
path: |
~/.konan
key: ${{ runner.os }}-${{ hashFiles('**/.lock') }}
- name: Build with Gradle
uses: gradle/actions/setup-gradle@v3
with:
arguments: ${{ matrix.target }}