mirror of
https://github.com/UneBaguette/blake3.wasm.git
synced 2026-08-13 00:00:38 +02:00
feat: multi-target build + CI + publish workflow
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Install wasm-pack
|
||||
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
||||
|
||||
- name: Rust tests
|
||||
run: cargo test
|
||||
|
||||
- name: WASM tests (Node)
|
||||
run: wasm-pack test --node
|
||||
Reference in New Issue
Block a user