when: - event: [manual, push, pull_request] branch: main path: on_empty: false include: - "**/*.yaml" - "**/*.toml" - "**/*.rs" - "src/**" steps: - name: build-x86_64-linux-gnu image: amd64/rust:latest environment: RUST_BACKTRACE: 1 RUST_LOG: trace CARGO_INCREMENTAL: 0 commands: - rustup component add rustfmt - cargo fmt --all --check - apt-get update --quiet - apt-get install --quiet --no-install-recommends --yes libclang-dev libc6-dev - cargo build --verbose --workspace --jobs=1 --target=x86_64-unknown-linux-gnu - cargo test --verbose --workspace --jobs=1 --target=x86_64-unknown-linux-gnu --no-run - cargo test --verbose --workspace --jobs=1 --target=x86_64-unknown-linux-gnu -- --test-threads=1 --nocapture