Skip to content

More robust OS detection for riscv feature detection #293

More robust OS detection for riscv feature detection

More robust OS detection for riscv feature detection #293

Workflow file for this run

name: Mac
on:
pull_request: {}
push:
branches: master
jobs:
test:
strategy:
matrix:
platform:
- macos-latest
toolchain:
- stable
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('Cargo.lock') }}
- uses: actions/cache@v1
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-index-${{ hashFiles('Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.toolchain }}
profile: minimal
override: true
target: "wasm32-unknown-unknown"
- run: cargo test --all-features --workspace