Repository navigation
Memoise Decompile(0) on AST nodes #62
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: Gradle | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| - develop | |
| jobs: | |
| gradle: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| # 11 is the baseline the published main artifact targets, 21 the runtime most | |
| # consumers are on. Running the suite on both is the only way to catch a Java 11 | |
| # problem that compiling to 11 on a 21 JDK cannot see. | |
| java-version: [11, 21] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| # Both JDKs are installed. The last entry becomes JAVA_HOME, so Gradle's daemon | |
| # always runs on 21 -- the bnd OSGi plugin is class file 61 and cannot load on an | |
| # 11 JVM. The matrix JDK is picked up by the toolchain for compiling and running | |
| # the tests, which is the part that needs to happen on Java 11. | |
| - name: Set up JDK ${{ matrix.java-version }} and 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: | | |
| ${{ matrix.java-version }} | |
| 21 | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@v3 | |
| with: | |
| gradle-version: wrapper | |
| - name: Build with Gradle | |
| run: ./gradlew build -PjavaTestVersion=${{ matrix.java-version }} |