Use "host" instead of "target" in Web Tests

Signed-off-by: Joe Richey <joerichey@google.com>
This commit is contained in:
Joe Richey 2022-10-31 00:05:08 -07:00
parent 5a4a8eafe5
commit 8e4ecdb72f

View File

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