aboutsummaryrefslogblamecommitdiff
path: root/.drone.yml
blob: 88dd362d279c9abd82b036851d08fa74dc3c2205 (plain) (tree)
1
2
3
4
5
6
7
8







               





                                                                  






















                                                                                                                            
                                                                      

   
---
kind: pipeline
name: default

node:
  nix-daemon: 1

steps:
  - name: check formatting
    image: nixpkgs/nix:nixos-22.05
    environment:
      NIX_PATH: 'nixpkgs=channel:nixos-22.05'
    commands:
      - nix-shell -p cargo -p rustfmt --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: c8525b399be9c11eec7f6549242aceda6442114e3b71b587c03c074178c06bf5

...