ci: fix minor issues

This commit is contained in:
Amaan Qureshi 2024-12-10 20:03:42 -05:00
parent b79f31da80
commit ede1960eef
No known key found for this signature in database
GPG key ID: E67890ADC4227273
5 changed files with 12 additions and 4 deletions

View file

@ -88,7 +88,7 @@ jobs:
- name: Install cross
if: ${{ matrix.use-cross }}
run: cargo install cross --git https://github.com/cross-rs/cross
run: RUSTFLAGS="" cargo install cross --git https://github.com/cross-rs/cross
- name: Configure cross
if: ${{ matrix.use-cross }}
@ -138,6 +138,7 @@ jobs:
- name: Build wasmtime library
if: ${{ !matrix.use-cross && contains(matrix.features, 'wasm') }}
run: |
mkdir -p target
WASMTIME_VERSION=$(cargo metadata --format-version=1 --locked --features wasm | \
jq -r '.packages[] | select(.name == "wasmtime-c-api-impl") | .version')
curl -LSs "$WASMTIME_REPO/archive/refs/tags/v${WASMTIME_VERSION}.tar.gz" | tar xzf - -C target
@ -151,6 +152,7 @@ jobs:
printf 'CMAKE_PREFIX_PATH=%s\n' "$PWD/artifacts" >> $GITHUB_ENV
env:
WASMTIME_REPO: https://github.com/bytecodealliance/wasmtime
RUSTFLAGS: ""
- name: Build C library (make)
if: ${{ runner.os != 'Windows' }}