36
36
description : ' Platform(s) to execute on (comma separated, e.g. "linux-x64, macos, aarch64")'
37
37
required : true
38
38
default : ' linux-x64, linux-x86, linux-x64-variants, linux-cross-compile, macos-x64, macos-aarch64, windows-x64, windows-aarch64'
39
+ configure-arguments :
40
+ description : ' Additional configure arguments'
41
+ required : false
42
+ make-arguments :
43
+ description : ' Additional make arguments'
44
+ required : false
39
45
40
46
concurrency :
41
47
group : ${{ github.workflow }}-${{ github.ref }}
@@ -125,6 +131,8 @@ jobs:
125
131
platform : linux-x64
126
132
gcc-major-version : ' 10'
127
133
apt-gcc-version : ' 10.3.0-15ubuntu1'
134
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
135
+ make-arguments : ${{ github.event.inputs.make-arguments }}
128
136
# The linux-x64 jdk bundle is used as buildjdk for the cross-compile job
129
137
if : needs.select.outputs.linux-x64 == 'true' || needs.select.outputs.linux-cross-compile == 'true'
130
138
@@ -142,6 +150,8 @@ jobs:
142
150
# install their dependencies manually.
143
151
apt-extra-packages : ' libfreetype6-dev:i386 libtiff-dev:i386 libcupsimage2-dev:i386 libc6-i386'
144
152
extra-conf-options : ' --with-target-bits=32'
153
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
154
+ make-arguments : ${{ github.event.inputs.make-arguments }}
145
155
if : needs.select.outputs.linux-x86 == 'true'
146
156
147
157
build-linux-x64-hs-nopch :
@@ -155,6 +165,8 @@ jobs:
155
165
gcc-major-version : ' 10'
156
166
apt-gcc-version : ' 10.3.0-15ubuntu1'
157
167
extra-conf-options : ' --disable-precompiled-headers'
168
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
169
+ make-arguments : ${{ github.event.inputs.make-arguments }}
158
170
if : needs.select.outputs.linux-x64-variants == 'true'
159
171
160
172
build-linux-x64-hs-zero :
@@ -168,6 +180,8 @@ jobs:
168
180
gcc-major-version : ' 10'
169
181
apt-gcc-version : ' 10.3.0-15ubuntu1'
170
182
extra-conf-options : ' --with-jvm-variants=zero --disable-precompiled-headers'
183
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
184
+ make-arguments : ${{ github.event.inputs.make-arguments }}
171
185
if : needs.select.outputs.linux-x64-variants == 'true'
172
186
173
187
build-linux-x64-hs-minimal :
@@ -181,6 +195,8 @@ jobs:
181
195
gcc-major-version : ' 10'
182
196
apt-gcc-version : ' 10.3.0-15ubuntu1'
183
197
extra-conf-options : ' --with-jvm-variants=minimal --disable-precompiled-headers'
198
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
199
+ make-arguments : ${{ github.event.inputs.make-arguments }}
184
200
if : needs.select.outputs.linux-x64-variants == 'true'
185
201
186
202
build-linux-x64-hs-optimized :
@@ -195,6 +211,8 @@ jobs:
195
211
gcc-major-version : ' 10'
196
212
apt-gcc-version : ' 10.3.0-15ubuntu1'
197
213
extra-conf-options : ' --with-debug-level=optimized --disable-precompiled-headers'
214
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
215
+ make-arguments : ${{ github.event.inputs.make-arguments }}
198
216
if : needs.select.outputs.linux-x64-variants == 'true'
199
217
200
218
build-linux-cross-compile :
@@ -207,6 +225,8 @@ jobs:
207
225
gcc-major-version : ' 10'
208
226
apt-gcc-version : ' 10.3.0-15ubuntu1'
209
227
apt-gcc-cross-version : ' 10.3.0-8ubuntu1cross1'
228
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
229
+ make-arguments : ${{ github.event.inputs.make-arguments }}
210
230
if : needs.select.outputs.linux-cross-compile == 'true'
211
231
212
232
build-macos-x64 :
@@ -216,6 +236,8 @@ jobs:
216
236
with :
217
237
platform : macos-x64
218
238
xcode-toolset-version : ' 11.7'
239
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
240
+ make-arguments : ${{ github.event.inputs.make-arguments }}
219
241
if : needs.select.outputs.macos-x64 == 'true'
220
242
221
243
build-macos-aarch64 :
@@ -226,6 +248,8 @@ jobs:
226
248
platform : macos-aarch64
227
249
xcode-toolset-version : ' 12.4'
228
250
extra-conf-options : ' --openjdk-target=aarch64-apple-darwin'
251
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
252
+ make-arguments : ${{ github.event.inputs.make-arguments }}
229
253
if : needs.select.outputs.macos-aarch64 == 'true'
230
254
231
255
build-windows-x64 :
@@ -236,6 +260,8 @@ jobs:
236
260
platform : windows-x64
237
261
msvc-toolset-version : ' 14.29'
238
262
msvc-toolset-architecture : ' x86.x64'
263
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
264
+ make-arguments : ${{ github.event.inputs.make-arguments }}
239
265
if : needs.select.outputs.windows-x64 == 'true'
240
266
241
267
build-windows-aarch64 :
@@ -248,6 +274,8 @@ jobs:
248
274
msvc-toolset-architecture : ' arm64'
249
275
make-target : ' hotspot'
250
276
extra-conf-options : ' --openjdk-target=aarch64-unknown-cygwin'
277
+ configure-arguments : ${{ github.event.inputs.configure-arguments }}
278
+ make-arguments : ${{ github.event.inputs.make-arguments }}
251
279
if : needs.select.outputs.windows-aarch64 == 'true'
252
280
253
281
# ##
0 commit comments