Merge pull request #4006 from andreitokar/issue-3909 #786
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: CI | |
on: [push, pull_request] | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
java-version: [11, 17] | |
name: Java ${{ matrix.java-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Set up JDK ${{ matrix.java-version }} | |
uses: actions/setup-java@v3 | |
with: | |
java-version: ${{ matrix.java-version }} | |
distribution: temurin | |
- name: Test | |
run: | | |
cd h2 | |
echo $JAVA_OPTS | |
export JAVA_OPTS=-Xmx512m | |
./build.sh jar testCI |