File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 strategy :
2727 fail-fast : true
2828 matrix :
29- os : [macos-latest, macos-14, ubuntu-20.04 ]
29+ label : [osx-x86_64, osx-aarch_64, linux, alpine ]
3030 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
3741 steps :
3842 - uses : actions/checkout@v4
3943 with :
6266 with :
6367 distribution : ${{env.GRAALVM_DISTRO}}
6468 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
6670 - run : mv org.eclipse.lemminx/target/lemminx-* lemminx-${{ matrix.label }}
6771 - uses : actions/upload-artifact@v4
6872 with :
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ jobs:
116116 - name : Prepare Binary Artifacts For Packaging
117117 run : |
118118 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
120120 pushd ${f}
121121 chmod u+x ${f}*
122122 zip ../../staging/zips/${f}.zip ${f}*
@@ -128,6 +128,7 @@ jobs:
128128 - name : Package vscode-xml
129129 run : |
130130 declare -A targets
131+ targets["alpine-x64"]=alpine
131132 targets["linux-x64"]=linux
132133 targets["win32-x64"]=win32
133134 targets["darwin-x64"]=osx-x86_64
You can’t perform that action at this time.
0 commit comments