Skip to content

Commit a82f99f

Browse files
committed
Add action for compiling monetdb-java on MS windows.
1 parent 49946b0 commit a82f99f

1 file changed

Lines changed: 45 additions & 0 deletions

File tree

.github/workflows/windows.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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
3+
# or https://github.com/actions/checkout and https://github.com/actions/setup-java
4+
5+
name: Windows
6+
7+
on: [push]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: windows-latest
13+
14+
# services:
15+
# monetdb_container:
16+
# image: monetdb/monetdb:latest
17+
# env:
18+
# MDB_DAEMON_PASS: monetdb
19+
# MDB_DB_ADMIN_PASS: monetdb
20+
# ports:
21+
# - 50000:50000
22+
# Error: docker: command not found
23+
24+
steps:
25+
- uses: actions/checkout@v6
26+
27+
- name: Set up JDK
28+
uses: actions/setup-java@v5
29+
with:
30+
java-version: 11
31+
distribution: microsoft
32+
33+
- name: Build
34+
run: make
35+
36+
# - name: Create jar symlink
37+
# run: ln -s monetdb-jdbc*.jar monetdb-jdbc.jar
38+
# working-directory: jars
39+
40+
# running java test programs fails, due to failed connection. Probably the server was not started. Assistance needed.
41+
# - name: Run JDBC_API_Tester
42+
# run: java -cp jars/monetdb-jdbc.jar:jars/jdbctests.jar JDBC_API_Tester 'jdbc:monetdb://localhost:50000/monetdb?user=monetdb&password=monetdb'
43+
44+
# - name: Run OnClientTester
45+
# run: java -cp jars/monetdb-jdbc.jar:jars/jdbctests.jar OnClientTester 'jdbc:monetdb://localhost:50000/monetdb?user=monetdb&password=monetdb' -v

0 commit comments

Comments
 (0)