forked from Smithay/smithay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vagga.yaml
82 lines (72 loc) · 3.56 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
minimum-vagga: v0.5.0
containers:
base:
auto-clean: true
setup:
- !UbuntuRelease { codename: cosmic }
- !UbuntuUniverse
- !Install [build-essential, wget, curl, pkg-config, file, openssl, sudo, ca-certificates, libssl-dev, cmake, libudev-dev, libgbm-dev, libxkbcommon-dev, libegl1-mesa-dev, libwayland-dev, libinput-dev, libsystemd-dev, libdbus-1-dev]
stable:
auto-clean: true
environ:
HOME: /work/.vagga/stable-home
PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/work/.vagga/stable-home/.cargo/bin:/work/.vagga/stable-home/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/
RUST_BACKTRACE: 1
XDG_RUNTIME_DIR: /work/.vagga/stable-home
setup:
- !Container base
- !Env HOME: /work/.vagga/stable-home
- !Sh curl https://sh.rustup.rs -sSf | sh -s -- -y --default-host x86_64-unknown-linux-gnu --default-toolchain stable --no-modify-path
- !Env PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/work/.vagga/stable-home/.cargo/bin:/work/.vagga/stable-home/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/
- !Sh rustup self update
- !Sh rustup component add rustfmt-preview
beta:
auto-clean: true
environ:
HOME: /work/.vagga/beta-home
PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/work/.vagga/beta-home/.cargo/bin:/work/.vagga/beta-home/.rustup/toolchains/beta-x86_64-unknown-linux-gnu/bin/
RUST_BACKTRACE: 1
XDG_RUNTIME_DIR: /work/.vagga/beta-home
setup:
- !Container base
- !Env HOME: /work/.vagga/beta-home
- !Sh curl https://sh.rustup.rs -sSf | sh -s -- -y --default-host x86_64-unknown-linux-gnu --default-toolchain beta --no-modify-path
nightly:
auto-clean: true
environ:
HOME: /work/.vagga/nightly-home
PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/work/.vagga/nightly-home/.cargo/bin:/work/.vagga/nightly-home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/
RUST_BACKTRACE: 1
XDG_RUNTIME_DIR: /work/.vagga/nightly-home
setup:
- !Container base
- !Env HOME: /work/.vagga/nightly-home
- !Sh curl https://sh.rustup.rs -sSf | sh -s -- -y --default-host x86_64-unknown-linux-gnu --default-toolchain nightly --no-modify-path
- !Env PATH: /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/work/.vagga/nightly-home/.cargo/bin:/work/.vagga/nightly-home/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/
- !Sh rustup self update
- !Sh rustup component add clippy-preview
commands:
update-stable: !Command
description: Update container
container: stable
run: rustup update
update-beta: !Command
description: Update container
container: beta
run: rustup update
update-nightly: !Command
description: Update container
container: nightly
run: rustup update
cargo-stable: !Command
description: Run cargo
container: stable
run: ["/work/.vagga/stable-home/.cargo/bin/cargo"]
cargo-beta: !Command
description: Run cargo
container: beta
run: ["/work/.vagga/beta-home/.cargo/bin/cargo"]
cargo-nightly: !Command
description: Run cargo
container: nightly
run: ["/work/.vagga/nightly-home/.cargo/bin/cargo"]