File tree 2 files changed +0
-143
lines changed
2 files changed +0
-143
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,13 +2,6 @@ name: CI
2
2
3
3
on : [push, pull_request, workflow_dispatch]
4
4
5
- env :
6
- WASM_TRUNK_DEPLOY_CRATE : sample-webapp
7
- # RUSTFLAGS: -D warnings
8
- # RUSTDOCFLAGS: -D warnings
9
- # NIGHTLY_VERSION: nightly-20xx-yy-zz
10
-
11
-
12
5
jobs :
13
6
check :
14
7
name : Check
26
19
command : check
27
20
args : --all-features
28
21
29
- check_wasm :
30
- name : Check wasm32
31
- runs-on : ubuntu-latest
32
- steps :
33
- - uses : actions/checkout@v4
34
- - uses : actions-rs/toolchain@v1
35
- with :
36
- profile : minimal
37
- # toolchain: nightly
38
- toolchain : stable
39
- target : wasm32-unknown-unknown
40
- override : true
41
- - uses : actions-rs/cargo@v1
42
- with :
43
- command : check
44
- args : --all-features --lib --target wasm32-unknown-unknown
45
-
46
22
test :
47
23
name : Test Suite
48
24
runs-on : ubuntu-latest
76
52
with :
77
53
command : clippy
78
54
# args: -- -D warnings
79
-
80
- # TODO: generalize this to check multiple crates or all crates with root `index.html`
81
- trunk :
82
- name : trunk
83
- runs-on : ubuntu-latest
84
- steps :
85
- - uses : actions/checkout@v4
86
- - uses : actions-rs/toolchain@v1
87
- with :
88
- profile : minimal
89
- # toolchain: nightly
90
- toolchain : stable
91
- target : wasm32-unknown-unknown
92
- override : true
93
- - name : Download and install Trunk binary
94
- run : |
95
- wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
96
- sudo mv trunk /usr/local/bin/
97
- - name : Build
98
- working-directory : crates/${{ env.WASM_TRUNK_DEPLOY_CRATE }}
99
- run : trunk build
You can’t perform that action at this time.
0 commit comments