Skip to content

Build Linux

Build Linux #76

Workflow file for this run

name: Build Linux
on:
push:
branches:
- main
paths-ignore:
- "**/*.md"
pull_request:
paths-ignore:
- "**/*.md"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: JDK setup
uses: actions/setup-java@v3
with:
java-version: 17
distribution: corretto
# Need latest chrome for wasm as of Kotlin 1.9.20
- uses: browser-actions/setup-chrome@v1
- name: Linux build
run: |
./gradlew build publishToMavenLocal --no-daemon --stacktrace
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3g"
- name: Linux sample build
run: |
cd sample
./gradlew build --no-daemon --stacktrace
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs="-Xmx3g"