~matthiasbeyer/imag

ref: d09be3e2fa1b02912b0a1c723e7c9647296de921 imag/.builds/debian.yml -rw-r--r-- 824 bytes
d09be3e2Matthias Beyer srht builds: Add email notification 1 year, 5 months ago
                                                                                
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
27
28
29
30
31
image: debian/stable
sources:
  - https://git.sr.ht/~matthiasbeyer/imag
packages:
  - curl
  - libclang-dev
  - libdbus-1-dev
  - libssl-dev
  - openssl
  - pkg-config
  - git
tasks:
  - install: curl https://sh.rustup.rs -sSf | sh -s -- -y
  - build: |
      cd imag
      PATH="$HOME/.cargo/bin:$PATH" cargo build --all --all-features
  - prepare-test: |
      git config --global user.name "Test user"
      git config --global user.email "test@user.tld"
  - test: |
      cd imag
      PATH="$HOME/.cargo/bin:$PATH" cargo test --all --all-features
  - clippy: |
      cd imag
      PATH="$HOME/.cargo/bin:$PATH" rustup component add clippy
      PATH="$HOME/.cargo/bin:$PATH" cargo clippy --all --all-targets --all-features -- -D warnings
triggers:
  - action: email
    condition: always
    to: mail@beyermatthias.de