-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathvagga.yaml
56 lines (47 loc) · 1.26 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
commands:
cargo: !Command
description: Run any cargo command
work-dir: /work
container: ubuntu
run: [cargo]
make: !Command
description: Build the library
container: ubuntu
run: [cargo, build]
test: !Command
description: Run unit tests
container: ubuntu
environ:
RUST_BACKTRACE: 1
run: [cargo, test]
_bulk: !Command
description: Run `bulk` command (for version bookkeeping)
container: ubuntu
run: [bulk]
containers:
ubuntu:
setup:
- !Ubuntu xenial
- !Repo xenial/universe
- !Install
- ca-certificates
- vim
- !Repo xenial/universe-updates
- !BuildDeps
- cmake # for cargo outdated
- !Install
- ca-certificates
- build-essential
- libssl-dev
- pkg-config
- !TarInstall
url: "https://static.rust-lang.org/dist/rust-1.25.0-x86_64-unknown-linux-gnu.tar.gz"
script: "./install.sh --prefix=/usr \
--components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo"
- &bulk !Tar
url: "https://github.com/tailhook/bulk/releases/download/v0.4.9/bulk-v0.4.9.tar.gz"
sha256: 23471a9986274bb4b7098c03e2eb7e1204171869b72c45385fcee1c64db2d111
path: /
environ:
HOME: /work/target
USER: pc