annotate .github/workflows/macos.yml @ 980:7f93f3dbdd78 default tip

Adapt expected output for servers 11.54 or higher
author Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
date Wed, 09 Jul 2025 15:06:30 +0200 (3 weeks ago)
parents e85dcb3ea4a6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
410
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
1 # This workflow will build a Java project with Maven
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
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
410
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
4
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
5 name: MacOS
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
6
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
7 on: [push]
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
8
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
9 jobs:
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
10 build:
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
11
775
cb20730499c7 newer actions checkout api (v3)
Niels Nes <niels@cwi.nl>
parents: 411
diff changeset
12 runs-on: macos-latest
410
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
13
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
14 steps:
891
df43df2ad486 Update GH actions to v4
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 776
diff changeset
15 - uses: actions/checkout@v4
410
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
16 - name: Set up JDK 1.8
891
df43df2ad486 Update GH actions to v4
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 776
diff changeset
17 uses: actions/setup-java@v4
410
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
18 with:
776
a5be83372750 use distro name
Niels Nes <niels@cwi.nl>
parents: 775
diff changeset
19 java-version: 8
a5be83372750 use distro name
Niels Nes <niels@cwi.nl>
parents: 775
diff changeset
20 distribution: liberica
410
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
21
88a42e950f1c add osx ci
MitchellWeg <mitchell.w@live.nl>
parents:
diff changeset
22 - name: Build
896
400d35258147 It would be good if on MacOS we also run the tests. Lets see what happens.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 893
diff changeset
23 run: make
400d35258147 It would be good if on MacOS we also run the tests. Lets see what happens.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 893
diff changeset
24
400d35258147 It would be good if on MacOS we also run the tests. Lets see what happens.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 893
diff changeset
25 - name: Create jar symlink
400d35258147 It would be good if on MacOS we also run the tests. Lets see what happens.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 893
diff changeset
26 run: ln -s monetdb-jdbc*.jar monetdb-jdbc.jar
400d35258147 It would be good if on MacOS we also run the tests. Lets see what happens.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 893
diff changeset
27 working-directory: jars
400d35258147 It would be good if on MacOS we also run the tests. Lets see what happens.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 893
diff changeset
28
912
e85dcb3ea4a6 Disable running java test program as the connection always fails (due to server not started)
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 896
diff changeset
29 # running java test programs fails, due to failed connection. Probably the server was not started. Assistance needed.
e85dcb3ea4a6 Disable running java test program as the connection always fails (due to server not started)
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 896
diff changeset
30 # - name: Run JDBC_API_Tester
e85dcb3ea4a6 Disable running java test program as the connection always fails (due to server not started)
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 896
diff changeset
31 # run: java -cp jars/monetdb-jdbc.jar:jars/jdbctests.jar JDBC_API_Tester 'jdbc:monetdb://localhost:50000/monetdb?user=monetdb&password=monetdb'
896
400d35258147 It would be good if on MacOS we also run the tests. Lets see what happens.
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 893
diff changeset
32
912
e85dcb3ea4a6 Disable running java test program as the connection always fails (due to server not started)
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 896
diff changeset
33 # - name: Run OnClientTester
e85dcb3ea4a6 Disable running java test program as the connection always fails (due to server not started)
Martin van Dinther <martin.van.dinther@monetdbsolutions.com>
parents: 896
diff changeset
34 # run: java -cp jars/monetdb-jdbc.jar:jars/jdbctests.jar OnClientTester 'jdbc:monetdb://localhost:50000/monetdb?user=monetdb&password=monetdb' -v