aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
blob: f49665c2f7ea4b1ee055ea61f251cc34bb0ff988 (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
27
28
29
30
31
32
33
34
35
36
37
38
---
kind: pipeline
name: default

node:
  nix-daemon: 1

steps:
  - name: check formatting
    image: nixpkgs/nix:nixos-22.05
    commands:
      - nix-shell -p cargo --run "cargo fmt -- --check"

  - name: build
    image: nixpkgs/nix:nixos-22.05
    commands:
      - nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#debug.x86_64-linux.tricot

  - name: test
    image: nixpkgs/nix:nixos-22.05
    commands:
      - nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#test.x86_64-linux.tricot
      - ./result-bin/bin/tricot-*

trigger:
  event:
  - custom
  - push
  - pull_request
  - tag
  - cron


---
kind: signature
hmac: c99528a32d4c9f5016e6143e08291c99a8b248880f7dc3ee3550803e16cd28ad

...