File: CI.yml

package info (click to toggle)
h2database 2.2.220-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 19,756 kB
  • sloc: java: 241,177; sql: 29,722; jsp: 835; javascript: 753; xml: 722; sh: 181; makefile: 17
file content (30 lines) | stat: -rw-r--r-- 657 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: CI

on: [push, pull_request]

permissions:
  contents: read #  to fetch code (actions/checkout)

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        java-version: [8, 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