Map 26.1-snapshot-5 (part 2) #49
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: Build | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'microsoft' | |
| - uses: actions/checkout@v4 | |
| - run: ./gradlew build javadocJar check --stacktrace --warning-mode fail -Dorg.gradle.jvmargs="-XX:+HeapDumpOnOutOfMemoryError" | |
| - run: ./gradlew formatMappings --stacktrace --warning-mode fail | |
| - name: Upload Heap Dump (if present) | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: heap-dump | |
| path: ./*.hprof | |
| if-no-files-found: ignore | |
| - name: Check mapping format | |
| run: | | |
| git add -A | |
| git status | |
| if [ -n "$(git status --porcelain)" ]; then exit 1; fi | |
| - name: Build artifacts | |
| continue-on-error: true | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Artifacts | |
| path: build/libs/ | |
| test-build-logic: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/setup-java@v4 | |
| with: | |
| java-version: '21' | |
| distribution: 'microsoft' | |
| - uses: actions/checkout@v4 | |
| - uses: gradle/actions/wrapper-validation@v4 | |
| - run: ./gradlew :filament:build |