Model bundle-specific args in the bundle itself #2056
Workflow file for this run
This file contains hidden or 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: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
name: Java ${{ matrix.java }} ${{ matrix.os }} | |
strategy: | |
matrix: | |
java: [17] | |
os: [macos-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: gradle/actions/wrapper-validation@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'corretto' | |
- name: Clean, build and javadoc | |
run: ./gradlew clean build javadoc -Plog-tests --stacktrace | |
- name: Integration tests | |
run: ./gradlew integ -Plog-tests --stacktrace | |
- name: Allow long file names in git for windows | |
if: matrix.os == 'windows-latest' | |
run: git config --system core.longpaths true | |
- uses: actions/upload-artifact@v4 | |
if: failure() | |
with: | |
name: java-${{ matrix.java }}-${{ matrix.os }}-test-report | |
path: '**/build/reports/tests' |