Use "host" instead of "target" in Web Tests
Signed-off-by: Joe Richey <joerichey@google.com>
This commit is contained in:
parent
5a4a8eafe5
commit
8e4ecdb72f
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@ -192,12 +192,12 @@ jobs:
|
||||
matrix:
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-musl
|
||||
host: x86_64-unknown-linux-musl
|
||||
- os: windows-latest
|
||||
target: x86_64-pc-windows-msvc
|
||||
host: x86_64-pc-windows-msvc
|
||||
# Reenable when Safari tests start working
|
||||
# - os: macos-12
|
||||
# target: x86_64-apple-darwin
|
||||
# host: x86_64-apple-darwin
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@ -208,7 +208,7 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
VERSION=v0.10.3
|
||||
URL=https://github.com/rustwasm/wasm-pack/releases/download/${VERSION}/wasm-pack-${VERSION}-${{ matrix.target }}.tar.gz
|
||||
URL=https://github.com/rustwasm/wasm-pack/releases/download/${VERSION}/wasm-pack-${VERSION}-${{ matrix.host }}.tar.gz
|
||||
wget -O - $URL | tar -xz --strip-components=1 -C ~/.cargo/bin
|
||||
wasm-pack --version
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
Loading…
x
Reference in New Issue
Block a user