File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 26
26
make format-check
27
27
28
28
java-linux-amd64 :
29
+ if : ${{ false }}
29
30
name : Java Linux (amd64)
30
31
runs-on : ubuntu-latest
31
32
needs : format-check
@@ -115,6 +116,50 @@ jobs:
115
116
path : |
116
117
build/release/duckdb_jdbc.jar
117
118
119
+ java-linux-amd64-musl :
120
+ name : Java Linux (amd64-musl)
121
+ runs-on : ubuntu-latest
122
+ needs : format-check
123
+ env :
124
+ ALPINE_IMAGE : alpine:3.21
125
+ ALPINE_PACKAGES : cmake g++ make ninja-build opendjk8-jdk
126
+ steps :
127
+ - uses : actions/checkout@v4
128
+ with :
129
+ fetch-depth : 0
130
+
131
+ - name : Build
132
+ shell : bash
133
+ run : |
134
+ docker run \
135
+ -v.:/duckdb \
136
+ -e GEN=ninja \
137
+ -e JAVA_HOME=/usr/lib/jvm/java-8-openjdk \
138
+ ${{ env.ALPINE_IMAGE }} \
139
+ bash -c 'apk get ${{ env.ALPINE_PACKAGES }} && make -C /duckdb release'
140
+
141
+ - name : JDBC Tests
142
+ shell : bash
143
+ if : ${{ inputs.skip_tests != 'true' }}
144
+ run : |
145
+ docker run \
146
+ -v.:/duckdb \
147
+ -e GEN=ninja \
148
+ -e JAVA_HOME=/usr/lib/jvm/java-8-openjdk \
149
+ ${{ env.ALPINE_IMAGE }} \
150
+ bash -c 'apk get ${{ env.MANYLINUX_PACKAGES }} && make -C /duckdb test'
151
+
152
+ - name : Deploy
153
+ shell : bash
154
+ run : |
155
+ cp build/release/duckdb_jdbc.jar duckdb_jdbc-linux-amd64-musl.jar
156
+ ./scripts/upload-assets-to-staging.sh github_release duckdb_jdbc-linux-amd64-musl.jar
157
+
158
+ - uses : actions/upload-artifact@v4
159
+ with :
160
+ name : java-linux-amd64-musl
161
+ path : |
162
+ build/release/duckdb_jdbc.jar
118
163
119
164
java-windows-amd64 :
120
165
name : Java Windows (amd64)
You can’t perform that action at this time.
0 commit comments