0
0
Fork 0
mirror of https://github.com/denoland/rusty_v8.git synced 2024-12-01 16:51:32 -05:00

fix variant flag

This commit is contained in:
Divy Srivastava 2024-02-29 20:01:53 +05:30 committed by Ronny Chan
parent fd35e5ac7f
commit 4d140e39b7
No known key found for this signature in database
GPG key ID: 438610BEA8DC2E2C
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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 $@