-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathvagga.yaml
68 lines (56 loc) · 1.79 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
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]
nightly-build: !Command
description: Run cargo build on nightly
symlink-name: cargo
container: nightly
run: [cargo, build]
environ:
RUSTFLAGS: "-Z macro-backtrace"
expand: !Command
description: Run cargo expand
symlink-name: cargo
container: nightly
run: [cargo, expand]
test: !Command
description: Run tests
container: ubuntu
run: [cargo, test, --workspace]
containers:
ubuntu:
setup:
- !Ubuntu focal
- !Install [ca-certificates, git, build-essential, vim,
pkg-config, libssl-dev]
- !TarInstall
url: "https://static.rust-lang.org/dist/rust-1.58.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.58.0-wasm32-unknown-unknown.tar.gz"
script: "./install.sh --prefix=/usr --components=rust-std-wasm32-unknown-unknown"
- !Sh 'cargo install cargo-release --root=/usr'
environ:
HOME: /work/target
LANG: C.UTF-8
RUST_BACKTRACE: 1
nightly:
setup:
- !Ubuntu focal
- !Install [ca-certificates, git, build-essential, vim]
- !TarInstall
url: "https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz"
script: "./install.sh --prefix=/usr \
--components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo"
- !Sh 'cargo install cargo-expand --root=/usr'
environ:
HOME: /work/target
RUST_BACKTRACE: 1