-
-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (40 loc) · 880 Bytes
/
wasm.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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