Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Commit b88a9e9

Browse files
Add musl to the path
1 parent 8f5bc3f commit b88a9e9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@ jobs:
9393
run: |
9494
sudo apt-get install -y musl
9595
sudo ld-musl-config
96+
# Install a symlink for use by native-image
97+
ln -s $MUSL_HOME/bin/musl-gcc $MUSL_HOME/bin/x86_64-linux-musl-gcc
98+
# Extend the system path and confirm that musl is available by printing its version
99+
export PATH="$MUSL_HOME/bin:$PATH"
100+
x86_64-linux-musl-gcc --version
96101
- name: Setup Java
97102
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
98103
with:
@@ -168,6 +173,11 @@ jobs:
168173
run: |
169174
sudo apt-get install -y musl
170175
sudo ld-musl-config
176+
# Install a symlink for use by native-image
177+
ln -s $MUSL_HOME/bin/musl-gcc $MUSL_HOME/bin/x86_64-linux-musl-gcc
178+
# Extend the system path and confirm that musl is available by printing its version
179+
export PATH="$MUSL_HOME/bin:$PATH"
180+
x86_64-linux-musl-gcc --version
171181
- name: Setup Java
172182
uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1
173183
with:

0 commit comments

Comments
 (0)