File tree Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Expand file tree Collapse file tree 2 files changed +14
-9
lines changed Original file line number Diff line number Diff line change 26
26
strategy :
27
27
fail-fast : true
28
28
matrix :
29
- os : [macos-latest, macos-14, ubuntu-20.04 ]
29
+ label : [osx-x86_64, osx-aarch_64, linux, alpine ]
30
30
include :
31
- - os : macos-latest
32
- label : ' osx-x86_64'
33
- - os : macos-14
34
- label : ' osx-aarch_64'
35
- - os : ubuntu-20.04
36
- label : ' linux'
31
+ - label : osx-x86_64
32
+ os : macos-latest
33
+ - label : osx-aarch_64
34
+ os : macos-14
35
+ - label : linux
36
+ os : ubuntu-20.04
37
+ prop : -Dgraalvm.static=-H:+StaticExecutableWithDynamicLibC
38
+ - label : alpine
39
+ os : ubuntu-20.04
40
+ prop : -Dgraalvm.static=--static
37
41
steps :
38
42
- uses : actions/checkout@v4
39
43
with :
62
66
with :
63
67
distribution : ${{env.GRAALVM_DISTRO}}
64
68
java-version : ${{env.GRAALVM_JAVA}}
65
- - run : ./mvnw -B package -Dnative -DskipTests $([ $(uname -s) = Linux ] && echo "-Dgraalvm.static=-H:+StaticExecutableWithDynamicLibC") -Dcbi.jarsigner.skip=true
69
+ - run : ./mvnw -B package -Dnative -DskipTests ${{ matrix.prop }} -Dcbi.jarsigner.skip=true
66
70
- run : mv org.eclipse.lemminx/target/lemminx-* lemminx-${{ matrix.label }}
67
71
- uses : actions/upload-artifact@v4
68
72
with :
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116
116
- name : Prepare Binary Artifacts For Packaging
117
117
run : |
118
118
mkdir -p ../staging/zips ../staging/checksums
119
- for f in lemminx-linux lemminx-osx-{x86_64,aarch_64} lemminx-win32; do
119
+ for f in lemminx-{ linux,alpine} lemminx-osx-{x86_64,aarch_64} lemminx-win32; do
120
120
pushd ${f}
121
121
chmod u+x ${f}*
122
122
zip ../../staging/zips/${f}.zip ${f}*
@@ -128,6 +128,7 @@ jobs:
128
128
- name : Package vscode-xml
129
129
run : |
130
130
declare -A targets
131
+ targets["alpine-x64"]=alpine
131
132
targets["linux-x64"]=linux
132
133
targets["win32-x64"]=win32
133
134
targets["darwin-x64"]=osx-x86_64
You can’t perform that action at this time.
0 commit comments