diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml deleted file mode 100644 index 34e1b4d..0000000 --- a/.buildkite/pipeline.yml +++ /dev/null @@ -1,231 +0,0 @@ -# Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. -# SPDX-License-Identifier: Apache-2.0 -steps: - - label: "build-gnu-x86" - commands: - - RUSTFLAGS="-D warnings" cargo build --release - retry: - automatic: false - agents: - platform: x86_64.metal - os: linux - plugins: - - docker#v3.8.0: - image: "rustvmm/dev:v12" - always-pull: true - - - label: "build-gnu-arm" - commands: - - RUSTFLAGS="-D warnings" cargo build --release - retry: - automatic: false - agents: - platform: arm.metal - os: linux - plugins: - - docker#v3.8.0: - image: "rustvmm/dev:v12" - always-pull: true - - - label: "build-musl-x86" - commands: - - RUSTFLAGS="-D warnings" cargo build --release --target x86_64-unknown-linux-musl - retry: - automatic: false - agents: - platform: x86_64.metal - os: linux - plugins: - - docker#v3.8.0: - image: "rustvmm/dev:v12" - always-pull: true - - - label: "build-musl-arm" - commands: - - RUSTFLAGS="-D warnings" cargo build --release --target aarch64-unknown-linux-musl - retry: - automatic: false - agents: - platform: arm.metal - os: linux - plugins: - - docker#v3.8.0: - image: "rustvmm/dev:v12" - always-pull: true - - - label: "style" - command: cargo fmt --all -- --check - retry: - automatic: false - agents: - platform: x86_64.metal - os: linux - plugins: - - docker#v3.8.0: - image: "rustvmm/dev:v12" - always-pull: true - - - label: "unittests-gnu-x86" - commands: - - cargo test --all-features --workspace - retry: - automatic: false - agents: - platform: x86_64.metal - os: linux - plugins: - - docker#v3.8.0: - privileged: true - image: "rustvmm/dev:v12" - always-pull: true - volumes: - - "/tmp:/tmp" - - - label: "unittests-gnu-arm" - commands: - - cargo test --all-features --workspace - retry: - automatic: false - agents: - platform: arm.metal - os: linux - plugins: - - docker#v3.8.0: - privileged: true - image: "rustvmm/dev:v12" - always-pull: true - volumes: - - "/tmp:/tmp" - - - label: "unittests-musl-x86" - command: - - cargo test --all-features --workspace --target x86_64-unknown-linux-musl - retry: - automatic: false - agents: - platform: x86_64.metal - os: linux - plugins: - - docker#v3.8.0: - privileged: true - image: "rustvmm/dev:v12" - always-pull: true - volumes: - - "/tmp:/tmp" - - - label: "unittests-musl-arm" - command: - - cargo test --all-features --workspace --target aarch64-unknown-linux-musl - retry: - automatic: false - agents: - platform: arm.metal - os: linux - plugins: - - docker#v3.8.0: - privileged: true - image: "rustvmm/dev:v12" - always-pull: true - volumes: - - "/tmp:/tmp" - - - label: "clippy-x86" - commands: - - cargo clippy --workspace --bins --examples --benches --all-features -- -D warnings - retry: - automatic: false - agents: - platform: x86_64.metal - os: linux - plugins: - - docker#v3.8.0: - image: "rustvmm/dev:v12" - always-pull: true - - - label: "check-warnings-x86" - commands: - - RUSTFLAGS="-D warnings" cargo check --all-targets --all-features --workspace - retry: - automatic: false - agents: - platform: x86_64.metal - os: linux - plugins: - - docker#v3.8.0: - privileged: true - image: "rustvmm/dev:v12" - always-pull: true - - - label: "check-warnings-arm" - command: - - RUSTFLAGS="-D warnings" cargo check --all-targets --all-features --workspace - retry: - automatic: false - agents: - platform: arm.metal - os: linux - plugins: - - docker#v3.8.0: - privileged: true - image: "rustvmm/dev:v12" - always-pull: true - - - label: "coverage-x86" - commands: - - find . -type f -name "test_coverage.py" | xargs pytest - retry: - automatic: false - agents: - platform: x86_64.metal - os: linux - plugins: - - docker#v3.8.0: - privileged: true - image: "rustvmm/dev:v12" - always-pull: true - volumes: - - "/tmp:/tmp" - - - label: "coverage-arm" - commands: - - pytest rust-vmm-ci/integration_tests/test_coverage.py - skip: "Currently this test is very unreliable. Kcov on aarch64 needs fixing." - retry: - automatic: false - agents: - platform: arm.metal - os: linux - plugins: - - docker#v3.8.0: - privileged: true - image: "rustvmm/dev:v12" - always-pull: true - volumes: - - "/tmp:/tmp" - - - label: "commit-format" - commands: - - find . -type f -name "test_commit_format.py" | xargs pytest - if: build.env("BUILDKITE_REPO") !~ /^git@/ - retry: - automatic: false - agents: - os: linux - plugins: - - docker#v3.8.0: - image: "rustvmm/dev:v12" - always-pull: true - propagate-environment: true - - - label: "cargo-audit" - commands: - - cargo audit -q - retry: - automatic: false - agents: - os: linux - plugins: - - docker#v3.8.0: - image: "rustvmm/dev:v12" - always-pull: true - propagate-environment: true