2021-09-11 14:34:03 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
2022-12-01 16:38:04 +00:00
|
|
|
node:
|
|
|
|
nix-daemon: 1
|
2021-09-11 14:34:03 +00:00
|
|
|
|
2022-12-01 16:38:04 +00:00
|
|
|
steps:
|
|
|
|
#- name: check formatting
|
|
|
|
# image: nixpkgs/nix:nixos-22.05
|
|
|
|
# commands:
|
|
|
|
# - nix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nixos/nixpkgs/nixos-22.05#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.diplonat
|
|
|
|
|
|
|
|
- name: test
|
|
|
|
image: nixpkgs/nix:nixos-22.05
|
|
|
|
commands:
|
|
|
|
- nix build --extra-experimental-features nix-command --extra-experimental-features flakes .#test.x86_64-linux.diplonat
|
|
|
|
- ./result-bin/bin/diplonat-*
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event:
|
|
|
|
- custom
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
- tag
|
|
|
|
- cron
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: signature
|
|
|
|
hmac: c8525b399be9c11eec7f6549242aceda6442114e3b71b587c03c074178c06bf5
|
|
|
|
|
|
|
|
...
|