Update dependency com.jakewharton.mosaic:mosaic-runtime to v0.15.0 #554
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
pull_request: {} | |
workflow_dispatch: {} | |
push: | |
branches: | |
- 'main' | |
tags-ignore: | |
- '**' | |
env: | |
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
# TODO: Linking is not working on linux. | |
# - os: ubuntu-latest | |
# task: linkReleaseExecutableLinuxX64 linuxX64Test | |
- os: macOS-13 | |
task: linkReleaseExecutableMacosX64 macosX64Test | |
target: 'macosX64' | |
- os: macOS-14 | |
task: linkReleaseExecutableMacosArm64 macosArm64Test | |
target: 'macosArm64' | |
# TODO: build on 'windows-latest' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 21 | |
- uses: gradle/actions/setup-gradle@v4 | |
continue-on-error: true | |
- name: Uninstall Homebrew curl | |
if: matrix.os == 'macOS-13' || matrix.os == 'macOS-14' | |
# Forces libcurl to be statically linked by uninstalling the dynamic libs | |
run: brew uninstall --ignore-dependencies curl | |
- run: ./gradlew buildDependencies ${{ matrix.task }} | |
- uses: dorny/test-reporter@v1 | |
# Doesn't work with forks. | |
if: github.event.pull_request == null || github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name | |
with: | |
name: ${{ matrix.os }} Tests | |
path: '**/build/test-results/**/TEST-*.xml' | |
reporter: java-junit | |
- name: Upload distribution | |
uses: actions/upload-artifact@v4 | |
with: | |
name: stacker-${{ matrix.target }} | |
path: build/bin/${{ matrix.target }}/releaseExecutable/stacker.kexe | |
if-no-files-found: error |