Mercurial > hg > monetdb-java
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 |
rev | line source |
---|---|
410 | 1 # This workflow will build a Java project with Maven |
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 | 4 |
5 name: MacOS | |
6 | |
7 on: [push] | |
8 | |
9 jobs: | |
10 build: | |
11 | |
775 | 12 runs-on: macos-latest |
410 | 13 |
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 | 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 | 18 with: |
776 | 19 java-version: 8 |
20 distribution: liberica | |
410 | 21 |
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 |