Skip to content

add target: wasm

add target: wasm #8

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
strategy:
matrix:
image: ["ubuntu-latest", "macos-latest", "windows-latest"]
rust: ["stable"]
include:
- image: "ubuntu-latest"
rust: "beta"
- image: "ubuntu-latest"
rust: "nightly"
- image: "ubuntu-latest"
rust: "1.80.0"
runs-on: ${{matrix.image}}
steps:
- name: Install `rustup`
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal
- name: Install Rust channel
run: rustup toolchain install ${{matrix.rust}} && rustup default ${{matrix.rust}}
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose