Skip to content

Commit 0a5af59

Browse files
committed
fix: pass MCPP_VENDORED_XLINGS in Linux CI build step
mcpp needs xlings to auto-install musl-gcc toolchain. Pass the vendored xlings binary path so mcpp can find it.
1 parent bf455d1 commit 0a5af59

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ jobs:
129129
TARBALL_NAME="mcpp-${VERSION}-linux-x86_64.tar.gz"
130130
131131
# Build first so we can strip the ELF before pack copies it.
132+
export MCPP_VENDORED_XLINGS="$XLINGS_BIN"
132133
"$MCPP" build --target x86_64-linux-musl
133134
ARTIFACT=$(find target/x86_64-linux-musl -type f -name mcpp | head -1)
134135
test -n "$ARTIFACT"

0 commit comments

Comments
 (0)