-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf6e5c6
commit a1a05b1
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |