File tree 1 file changed +28
-2
lines changed
1 file changed +28
-2
lines changed Original file line number Diff line number Diff line change 40
40
run : npm run build:dev
41
41
- name : Integration Tests
42
42
run : npm run test
43
+
44
+ examples :
45
+ name : Build Examples
46
+ runs-on : ubuntu-latest
47
+ steps :
48
+ - uses : actions/checkout@v2
49
+ - name : Install Node
50
+ uses : actions/setup-node@v3
51
+ with :
52
+ node-version : 16
53
+ - name : Setup Rust
54
+ uses : dsherret/rust-toolchain-file@v1
55
+ - name : Install wasm-pack
56
+ uses : taiki-e/install-action@wasm-pack
57
+ - name : Install wasm-strip and wasm-opt
58
+ run : sudo apt-get update && sudo apt-get install -y wabt binaryen
59
+ - name : Rust Cache
60
+ uses : Swatinem/rust-cache@v2
61
+ - name : Install JS Dependencies
62
+ run : npm ci
63
+ - name : Build Package
64
+ run : npm run build
43
65
- name : Build the wasmer.sh Example
44
66
run : |
45
67
npm ci
@@ -104,13 +126,17 @@ jobs:
104
126
workflow-times :
105
127
name : Workflow Timings
106
128
runs-on : ubuntu-latest
107
- needs : check
129
+ needs :
130
+ - check
131
+ - examples
108
132
steps :
109
133
- name : Time Reporter
110
134
uses :
Michael-F-Bryan/[email protected]
111
135
with :
112
136
token : ${{ secrets.GITHUB_TOKEN }}
113
- jobs : Compile and Test
137
+ jobs : |
138
+ Compile and Test
139
+ Build Examples
114
140
message : |
115
141
Make sure you keep an eye on build times!
116
142
You can’t perform that action at this time.
0 commit comments