about summary refs log tree commit diff stats
path: root/.builds/freebsd.yml
diff options
context:
space:
mode:
authorRen Kararou <[email protected]>2024-07-13 00:24:20 -0500
committerRen Kararou <[email protected]>2024-07-13 00:24:20 -0500
commita31dea4d846f6574263d266106d482f88d46d051 (patch)
tree960755f8abbe3e51a6cf14ab552d9c1b07805f20 /.builds/freebsd.yml
parent2355137d412f48379d3fc81d6b727a786e0b765d (diff)
downloadk2spice-a31dea4d846f6574263d266106d482f88d46d051.tar.gz
k2spice-a31dea4d846f6574263d266106d482f88d46d051.tar.bz2
k2spice-a31dea4d846f6574263d266106d482f88d46d051.zip
add debian CI HEAD current
Diffstat (limited to '.builds/freebsd.yml')
-rw-r--r--.builds/freebsd.yml26
1 files changed, 26 insertions, 0 deletions
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