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-rust: !Command description: Run test suite container: ubuntu run: [cargo, test, --workspace] volumes: /tmp: !Tmpfs size: 1Gi test-rust-all-features: !Command description: Run tests with all features enabled container: ubuntu run: [cargo, test, --workspace, --all-features] volumes: /tmp: !Tmpfs size: 1Gi test: !Command description: Run all tests container: ubuntu prerequisites: [test-rust, test-rust-all-features] run: [echo, Ok] containers: ubuntu: setup: - !Ubuntu jammy - !Install [ca-certificates, git, build-essential, vim, pkg-config, libssl-dev] - !TarInstall url: "https://static.rust-lang.org/dist/rust-1.68.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.68.0-wasm32-unknown-unknown.tar.gz" script: "./install.sh --prefix=/usr --components=rust-std-wasm32-unknown-unknown" - !Sh 'cargo install cargo-release cargo-audit cargo-outdated --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