Prevent negative remaining size in EscherBSERecord (#1276) #4928
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
| # This workflow will build a Java project with Gradle | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
| name: Java CI with Gradle | |
| on: | |
| push: | |
| branches: [ trunk, 5.5.x ] | |
| pull_request: | |
| branches: [ trunk, 5.5.x ] | |
| permissions: {} | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| # for now verify JDK 8 and 11 | |
| java: [ 17, 21 ] | |
| name: Java ${{ matrix.java }} build | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/setup-java@v6 | |
| with: | |
| distribution: 'temurin' | |
| java-version: ${{ matrix.java }} | |
| cache: 'gradle' | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| # SpotBugs is left to the nightly Jenkins jobs (the 'jenkins' task runs 'check' in full): | |
| # it cannot fail this build (ignoreFailures = true) and only adds time and memory pressure here | |
| - name: Build with Gradle | |
| run: ./gradlew check -PjdkVersion=17 -x spotbugsMain -x spotbugsTest --no-daemon --refresh-dependencies |