annotate .github/workflows/monetdbversions.yml @ 971:cddabb01fe12

Extend github workflows to test against JDK24 and MonetDB Mar2025 release
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Thu, 10 Apr 2025 13:51:05 +0200 (2 weeks ago)
parents 8611e23d2771
children f19623e0f527
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
744
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
1 # This workflow will build a Java project with Maven
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
2 # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
893
3b215a009634 Extend testing also against Jul2021
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 891
diff changeset
3 # or https://github.com/actions/checkout and https://github.com/actions/setup-java
744
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
4
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
5 name: Test with various MonetDB versions
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
6
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
7 on: [push]
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
8
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
9 jobs:
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
10 test:
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
11 runs-on: ubuntu-latest
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
12
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
13 strategy:
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
14 fail-fast: false
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
15 matrix:
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
16 monetdbversion:
775
cb20730499c7 newer actions checkout api (v3)
Niels Nes <niels@cwi.nl>
parents: 744
diff changeset
17 - "monetdb/dev-builds:Jan2022"
744
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
18 - "monetdb/dev-builds:Sep2022"
775
cb20730499c7 newer actions checkout api (v3)
Niels Nes <niels@cwi.nl>
parents: 744
diff changeset
19 - "monetdb/dev-builds:Jun2023"
828
be78e5a8c9cd Add testing against MonetDB Dec2023
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 775
diff changeset
20 - "monetdb/dev-builds:Dec2023"
930
8611e23d2771 Add testing against Aug2024 release and JDK 23 release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 895
diff changeset
21 - "monetdb/dev-builds:Aug2024"
971
cddabb01fe12 Extend github workflows to test against JDK24 and MonetDB Mar2025 release
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 930
diff changeset
22 - "monetdb/dev-builds:Mar2025"
744
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
23 - "monetdb/dev-builds:default"
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
24
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
25 services:
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
26 monetdb_container:
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
27 image: ${{ matrix.monetdbversion }}
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
28 env:
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
29 MDB_DAEMON_PASS: monetdb
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
30 MDB_DB_ADMIN_PASS: monetdb
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
31 ports:
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
32 - 50000:50000
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
33
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
34 steps:
891
df43df2ad486 Update GH actions to v4
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 828
diff changeset
35 - uses: actions/checkout@v4
744
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
36
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
37 - name: Set up JDK
891
df43df2ad486 Update GH actions to v4
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 828
diff changeset
38 uses: actions/setup-java@v4
744
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
39 with:
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
40 java-version: 8
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
41 distribution: liberica
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
42
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
43 - name: Build
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
44 run: make
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
45
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
46 - name: Create jar symlink
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
47 run: ln -s monetdb-jdbc*.jar monetdb-jdbc.jar
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
48 working-directory: jars
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
49
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
50 - name: Run JDBC_API_Tester
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
51 run: java -cp jars/monetdb-jdbc.jar:jars/jdbctests.jar JDBC_API_Tester 'jdbc:monetdb://localhost:50000/monetdb?user=monetdb&password=monetdb'
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
52
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
53 - name: Run OnClientTester
6a3cdd51a465 Add GitHub Action to test against various MonetDB versions
Joeri van Ruth <joeri.van.ruth@monetdbsolutions.com>
parents:
diff changeset
54 run: java -cp jars/monetdb-jdbc.jar:jars/jdbctests.jar OnClientTester 'jdbc:monetdb://localhost:50000/monetdb?user=monetdb&password=monetdb' -v