forked from Deuxfleurs/tricot
40 lines
855 B
YAML
40 lines
855 B
YAML
---
|
|
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: 49cde53ec25364cc3b3f041092c8e658fe9252342253757d86814ca12d5cb0f7
|
|
|
|
...
|