-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathvagga.yaml
36 lines (29 loc) · 941 Bytes
/
vagga.yaml
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
commands:
make: !Command
description: Build the library and CLI
container: ubuntu
run: [cargo, build]
cargo: !Command
description: Run arbitrary cargo command
symlink-name: cargo
container: ubuntu
run: [cargo]
test: !Command
description: Run tests
container: ubuntu
run: [cargo, test]
containers:
ubuntu:
setup:
- !Ubuntu focal
- !Install [ca-certificates, git, build-essential, vim]
- !TarInstall
url: "https://static.rust-lang.org/dist/rust-1.56.0-x86_64-unknown-linux-gnu.tar.gz"
script: "./install.sh --prefix=/usr \
--components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo"
- !TarInstall
url: "https://static.rust-lang.org/dist/rust-std-1.56.0-wasm32-unknown-unknown.tar.gz"
script: "./install.sh --prefix=/usr --components=rust-std-wasm32-unknown-unknown"
environ:
HOME: /work/target
RUST_BACKTRACE: 1