Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add workflow to check wasm-pack build #6842

Merged
merged 11 commits into from
Dec 17, 2024
33 changes: 33 additions & 0 deletions .github/workflows/wasm-bulild-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI wasm-check

on:
push:
branches:
- main
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
wasm-ci:
name: Check wasm build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt
SanchithHegde marked this conversation as resolved.
Show resolved Hide resolved

- name: Install wasm-pack
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
SanchithHegde marked this conversation as resolved.
Show resolved Hide resolved

- name: wasm build
shell: bash
run: make euclid-wasm
Loading