diff --git a/.github/workflows/musl.yaml b/.github/workflows/musl.yaml index e3d52d512..2e2bff2f6 100644 --- a/.github/workflows/musl.yaml +++ b/.github/workflows/musl.yaml @@ -22,6 +22,10 @@ jobs: export PREFIX="$(pwd)/static-prefix" contrib/build-static-deps.sh export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig" + export PATH="$PREFIX/bin:$PATH" + export CC=musl-gcc + export CFLAGS="-I$PREFIX/musl/include" + export LDFLAGS="-static" autoreconf -i ./configure --prefix="$PREFIX" --disable-shared --enable-build-raft make -j$(nproc) check