diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-01-27 13:58:10 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2023-01-27 13:58:10 +0000 |
commit | 6cef9f0fc159de4c9fd708050ec76adb4e74d390 (patch) | |
tree | 81856b3b4da6d18e10516b0be737a157e13f129b /openat/vagga.yaml | |
parent | 9e8dd00da25273fba9f0cafccbde2236e04fb24e (diff) | |
download | pam_usercg_rust-6cef9f0fc159de4c9fd708050ec76adb4e74d390.tar.gz pam_usercg_rust-6cef9f0fc159de4c9fd708050ec76adb4e74d390.tar.xz pam_usercg_rust-6cef9f0fc159de4c9fd708050ec76adb4e74d390.zip |
openat variant
Diffstat (limited to 'openat/vagga.yaml')
-rw-r--r-- | openat/vagga.yaml | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/openat/vagga.yaml b/openat/vagga.yaml new file mode 100644 index 0000000..568a80d --- /dev/null +++ b/openat/vagga.yaml @@ -0,0 +1,91 @@ +commands: + + make: !Command + description: Build the library + container: ubuntu + run: [cargo, build] + + build-musl: !Command + description: Build the library with musl libc + container: ubuntu + run: [cargo, build, --target=x86_64-unknown-linux-musl] + + cargo: !Command + description: Run arbitrary cargo command + container: ubuntu + run: [cargo] + + test: !Command + description: Run tests + container: ubuntu + run: [cargo, test] + + bench: !Command + description: Run benchmarks + container: nightly + run: [cargo, bench] + + _bulk: !Command + description: Run `bulk` command (for version bookkeeping) + container: ubuntu + run: [bulk] + +containers: + + ubuntu: + setup: + - !Ubuntu xenial + - !UbuntuUniverse + - !Install [ca-certificates, git, build-essential, vim, musl-tools] + + - !TarInstall + url: "https://static.rust-lang.org/dist/rust-1.32.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.32.0-x86_64-unknown-linux-musl.tar.gz" + script: "./install.sh --prefix=/musl \ + --components=rust-std-x86_64-unknown-linux-musl" + - !Sh 'ln -s /musl/lib/rustlib/x86_64-unknown-linux-musl /usr/lib/rustlib/x86_64-unknown-linux-musl' + - &bulk !Tar + url: "https://github.com/tailhook/bulk/releases/download/v0.4.10/bulk-v0.4.10.tar.gz" + sha256: 481513f8a0306a9857d045497fb5b50b50a51e9ff748909ecf7d2bda1de275ab + path: / + + environ: + HOME: /work/target + LD_LIBRARY_PATH: /musl/lib/rustlib/x86_64-unknown-linux-musl/lib + PATH: /musl/bin:/usr/local/bin:/usr/bin:/bin + RUST_BACKTRACE: 1 + + nightly: + setup: + - !Ubuntu xenial + - !Install [ca-certificates, git, build-essential] + + - !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" + + environ: + HOME: /work/target + RUST_BACKTRACE: 1 + + aarch64: + setup: + - !Ubuntu xenial + - !Install [ca-certificates, git, build-essential] + + - !TarInstall + url: "https://static.rust-lang.org/dist/rust-1.31.0-x86_64-unknown-linux-gnu.tar.gz" + script: "./install.sh --prefix=/usr \ + --components=rustc,cargo" + - !TarInstall + url: "https://static.rust-lang.org/dist/rust-std-1.31.0-aarch64-linux-android.tar.gz" + script: "./install.sh --prefix=/usr \ + --components=rust-std-aarch64-linux-android" + + environ: + HOME: /work/target + RUST_BACKTRACE: 1 |