Skip to content

Commit

Permalink
feature: check wasm build in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuschen committed Dec 8, 2023
1 parent cf6e5c6 commit a1a05b1
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: wasm-check
on:
pull_request:
paths:
- '**.rs'
- '**/Cargo.*'
- '.github/workflows/wasm.yml'
- '**.pi'
- '**/Kagari.*'
- 'codecov.yml'
push:
branches:
- "master"
- "release/*"
- "staging"
- "trying"
paths:
- '**.rs'
- '**/Cargo.*'
- '.github/workflows/wasm.yml'
- '**.pi'
- '**/Kagari.*'
- 'codecov.yml'


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

jobs:
wasm-test:
name: Wasm Build Check
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1

steps:
- uses: jetli/wasm-pack-action@v0.4.0
- uses: actions/checkout@v4
with:
submodules: true
- name: test wasm
run: wasm-pack build --target bundler --no-default-features --scope pivot-lang

0 comments on commit a1a05b1

Please sign in to comment.