Rectpacking orderbysize patch #722
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
# To verify that the changes of a PR do not break the build and pass the tests. | |
name: ELK CI | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# We check LTS versions and the latest release | |
# 11 - LTS | |
# 17 - LTS | |
java-version: [ 11, 17 ] | |
steps: | |
# Checkout the reposity of both elk and elk-models (the latter is required for the tests) | |
- uses: actions/checkout@v4 | |
with: | |
path: elk | |
- uses: actions/checkout@v4 | |
with: | |
repository: eclipse/elk-models | |
path: elk-models | |
# Prepare and use a cache for maven | |
- uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Set up Java version ${{ matrix.java-version }} | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: ${{ matrix.java-version }} | |
- name: Build and verify with maven | |
# Run mvn in the 'build' folder | |
working-directory: /home/runner/work/elk/elk/elk/build/ | |
# As line breaks do not seem to be supported, env variables are used as workaround to make the mvn call readable | |
run: mvn $opts $doc $test $test_models clean verify | |
env: | |
opts: --fail-at-end --no-transfer-progress | |
doc: --define elk.metadata.documentation.outputPath=/home/runner/work/elk/elk/elk/docs | |
test: --define tests.paths.elk-repo=/home/runner/work/elk/elk/elk | |
test_models: --define tests.paths.models-repo=/home/runner/work/elk/elk/elk-models |