| 1 | commands: |
| 2 | |
| 3 | cargo: !Command |
| 4 | description: Run any cargo command |
| 5 | container: ubuntu |
| 6 | run: [cargo] |
| 7 | |
| 8 | make: !Command |
| 9 | description: Build the library |
| 10 | container: ubuntu |
| 11 | run: [cargo, build] |
| 12 | |
| 13 | _bulk: !Command |
| 14 | description: Run `bulk` command (for version bookkeeping) |
| 15 | container: ubuntu |
| 16 | run: [bulk] |
| 17 | |
| 18 | containers: |
| 19 | |
| 20 | ubuntu: |
| 21 | setup: |
| 22 | - !Ubuntu bionic |
| 23 | - !Install [ca-certificates, build-essential, vim] |
| 24 | |
| 25 | - !TarInstall |
| 26 | url: "https://static.rust-lang.org/dist/rust-1.26.0-x86_64-unknown-linux-gnu.tar.gz" |
| 27 | script: "./install.sh --prefix=/usr \ |
| 28 | --components=rustc,rust-std-x86_64-unknown-linux-gnu,cargo" |
| 29 | - &bulk !Tar |
| 30 | url: "https://github.com/tailhook/bulk/releases/download/v0.4.11/bulk-v0.4.11.tar.gz" |
| 31 | sha256: b718bb8448e726690c94d98d004bf7575f7a429106ec26ad3faf11e0fd9a7978 |
| 32 | path: / |
| 33 | |
| 34 | environ: |
| 35 | HOME: /work/target |
| 36 | USER: pc |