Skip to content

Commit 6996a1a

Browse files
committed
Adds vagga.yaml
1 parent f61662a commit 6996a1a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

vagga.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
commands:
2+
3+
cargo: !Command
4+
description: Run any cargo command
5+
container: ubuntu
6+
run: [cargo]
7+
8+
test: !Command
9+
description: Run unit tests
10+
container: ubuntu
11+
run: [cargo, test]
12+
13+
containers:
14+
15+
ubuntu:
16+
setup:
17+
- !Ubuntu xenial
18+
- !Install [ca-certificates, build-essential]
19+
20+
- !TarInstall
21+
url: "https://static.rust-lang.org/dist/rust-1.16.0-x86_64-unknown-linux-gnu.tar.gz"
22+
script: "./install.sh --prefix=/usr \
23+
--components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo"
24+
25+
environ:
26+
HOME: /work/target
27+
USER: pc

0 commit comments

Comments
 (0)