about summary refs log tree commit diff stats
path: root/.builds/freebsd.yml
blob: 04638115b80cda16454ba5ce4a128ec239a060d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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