File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,11 @@ commands:
5
5
container : ubuntu
6
6
run : [cargo, build]
7
7
8
+ make-wasm : !Command
9
+ description : Build wasm library (just to check it's buildable)
10
+ container : wasm
11
+ run : [cargo, build, --target=wasm32-unknown-unknown]
12
+
8
13
cargo : !Command
9
14
description : Run arbitrary cargo command
10
15
symlink-name : cargo
@@ -41,3 +46,19 @@ containers:
41
46
HOME : /work/target
42
47
RUST_BACKTRACE : 1
43
48
49
+ wasm :
50
+ environ : &rustenv
51
+ PATH : /usr/local/bin:/usr/bin:/bin
52
+ HOME : /work/target
53
+ RUST_BACKTRACE : 1
54
+ setup :
55
+ - !Ubuntu xenial
56
+ - !UbuntuUniverse
57
+ - &pkgs !Install [build-essential, ca-certificates, vim]
58
+ - &rust !TarInstall
59
+ url : https://static.rust-lang.org/dist/rust-beta-x86_64-unknown-linux-gnu.tar.gz
60
+ script : " ./install.sh --prefix=/usr --components=rustc,cargo \
61
+ --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo"
62
+ - !TarInstall
63
+ url : " https://static.rust-lang.org/dist/rust-std-beta-wasm32-unknown-unknown.tar.gz"
64
+ script : " ./install.sh --prefix=/usr --components=rust-std-wasm32-unknown-unknown"
You can’t perform that action at this time.
0 commit comments