Compile with Java 11 and update to gradle 8.4 #6
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
name: Gradle Package | |
on: | |
push: | |
branches: [ gradle-build-java-11 ] | |
pull_request: | |
branches: [ gradle-build-java-11 ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
cache: gradle | |
- name: Building jpf-symbc with Gradle | |
run: | | |
git submodule update --recursive | |
./gradlew :jpf-core:buildJars | |
./gradlew :jpf-symbc:buildJar | |
- name: Testing jpf-symbc with Junit version 4.2 | |
run: | | |
./gradlew :jpf-symbc:test |