From a31dea4d846f6574263d266106d482f88d46d051 Mon Sep 17 00:00:00 2001 From: Ren Kararou Date: Sat, 13 Jul 2024 00:24:20 -0500 Subject: add debian CI --- .build.yml | 22 ---------------------- .builds/debian.yml | 26 ++++++++++++++++++++++++++ .builds/freebsd.yml | 26 ++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 22 deletions(-) delete mode 100644 .build.yml create mode 100644 .builds/debian.yml create mode 100644 .builds/freebsd.yml diff --git a/.build.yml b/.build.yml deleted file mode 100644 index 56858d1..0000000 --- a/.build.yml +++ /dev/null @@ -1,22 +0,0 @@ -image: freebsd/latest -environment: - RUSTFLAGS: -D warnings -sources: - - https://git.sr.ht/~spicywolf/k2spice -tasks: - - rustup: | - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y - source "$HOME/.cargo/env" - rustup toolchain install nightly --allow-downgrade --profile minimal --component clippy - - build: | - cd k2spice - source "$HOME/.cargo/env" - cargo build - - test: | - cd k2spice - source "$HOME/.cargo/env" - cargo test - - clippy: | - cd k2spice - source "$HOME/.cargo/env" - cargo clippy diff --git a/.builds/debian.yml b/.builds/debian.yml new file mode 100644 index 0000000..e1e9c55 --- /dev/null +++ b/.builds/debian.yml @@ -0,0 +1,26 @@ +image: debian/stable +environment: + RUSTFLAGS: -D warnings +sources: + - https://git.sr.ht/~spicywolf/k2spice +tasks: + - rustup: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y + source "$HOME/.cargo/env" + rustup toolchain install nightly --allow-downgrade --profile minimal --component clippy + - bld-dbg: | + cd k2spice + source "$HOME/.cargo/env" + cargo build + - bld-rel: | + cd k2spice + source "$HOME/.cargo/env" + cargo build --release + - test: | + cd k2spice + source "$HOME/.cargo/env" + cargo test + - clippy: | + cd k2spice + source "$HOME/.cargo/env" + cargo clippy diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml new file mode 100644 index 0000000..0463811 --- /dev/null +++ b/.builds/freebsd.yml @@ -0,0 +1,26 @@ +image: freebsd/latest +environment: + RUSTFLAGS: -D warnings +sources: + - https://git.sr.ht/~spicywolf/k2spice +tasks: + - rustup: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y + source "$HOME/.cargo/env" + rustup toolchain install nightly --allow-downgrade --profile minimal --component clippy + - bld-dbg: | + cd k2spice + source "$HOME/.cargo/env" + cargo build + - bld-rel: | + cd k2spice + source "$HOME/.cargo/env" + cargo build --release + - test: | + cd k2spice + source "$HOME/.cargo/env" + cargo test + - clippy: | + cd k2spice + source "$HOME/.cargo/env" + cargo clippy -- cgit 1.4.1-2-gfad0