File tree Expand file tree Collapse file tree 1 file changed +57
-0
lines changed
Expand file tree Collapse file tree 1 file changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Prebuild
3+ description : Pre-Build WASM Binaries
4+
5+ # yamllint disable-line rule:truthy
6+ on :
7+ workflow_dispatch :
8+ # temp!
9+ push :
10+
11+ permissions :
12+ contents : write
13+
14+ env :
15+ # Disable incremental compilation to avoid overhead.
16+ CARGO_INCREMENTAL : " 0"
17+
18+ jobs :
19+ release :
20+ runs-on : ubuntu-latest
21+ steps :
22+ # do NOT load any caches here, we want a clean, freestanding build w/o stateful dependencies!
23+
24+ - name : Checkout
25+ uses : actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
26+ with :
27+ fetch-depth : 1
28+
29+ - name : Free disk space
30+ uses : ./.github/actions/free-disk-space
31+
32+ - name : Fetch main branch
33+ run : git fetch --depth=1 origin main
34+
35+ - name : Install `just`
36+ uses : taiki-e/install-action@763e3324d4fd026c9bd284c504378585777a87d5 # v2
37+ with :
38+ tool : just
39+
40+ - name : Install stable toolchain
41+ uses : dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # master
42+ with :
43+ components : clippy, rustfmt
44+ toolchain : stable
45+ targets : wasm32-wasip2
46+
47+ - name : build "add one" example (debug)
48+ run : just guests::rust::build-add-one-debug
49+
50+ - name : build "add one" example (release)
51+ run : just guests::rust::build-add-one-release
52+
53+ - name : build python guest (debug)
54+ run : just guests::python::build-debug
55+
56+ - name : build python guest (release)
57+ run : just guests::python::build-release
You can’t perform that action at this time.
0 commit comments