From 4d140e39b77d4d63162fd41de4127f7b43d47389 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Thu, 29 Feb 2024 20:01:53 +0530 Subject: [PATCH] fix variant flag --- .github/workflows/ci.yml | 2 +- musl-build.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d1acd71..778a690c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -196,7 +196,7 @@ jobs: - name: Build Musl if: matrix.config.target == 'x86_64-unknown-linux-gnu' run: | - docker run -v "$PWD":/usr/src/rusty_v8 -w /usr/src/rusty_v8 rust:alpine3.16 ./musl-build.sh + docker run -v "$PWD":/usr/src/rusty_v8 -w /usr/src/rusty_v8 rust:alpine3.16 ./musl-build.sh ${{ env.CARGO_VARIANT_FLAG }} docker cp $(docker ps -lq):/usr/src/rusty_v8/target/${{ matrix.config.variant }}/gn_out/obj/librusty_v8.a target/librusty_v8_${{ matrix.config.variant }}_x86_64-unknown-linux-musl.a - name: Test diff --git a/musl-build.sh b/musl-build.sh index 81458cec..376078d3 100755 --- a/musl-build.sh +++ b/musl-build.sh @@ -31,5 +31,5 @@ if [ ! -d "./gn" ]; then ) fi -# Build rusty_v8 -cargo build -vv +# Build rusty_v8 and pass through the arguments +cargo build -vv $@