Drop testing with jdk7 as it is EOL since 19 July 2022. #84
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: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| jdk: ['8', '11', '17', '21'] | |
| cc: [gcc, clang] | |
| os: [ubuntu-20.04, ubuntu-22.04] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - name: Set up JDK ${{ matrix.jdk }} | |
| uses: actions/setup-java@8df1039502a15bceb9433410b1a100fbe190c53b # v4.5.0 | |
| with: | |
| distribution: 'zulu' | |
| java-version: ${{ matrix.jdk }} | |
| java-package: jdk | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -qq bats libedit-dev libedit2 | |
| - name: Build | |
| run: | | |
| make clean bats T_LIBS="JavaEditline JavaReadline JavaGetline" CC=${{ matrix.cc }} | |
| mvn clean site install |