aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-12-02 12:16:27 +0100
committerAlex Auvolat <alex@adnab.me>2022-12-02 12:16:27 +0100
commitca41c481b189092843cfb8c4382501037131a69a (patch)
treeb0531219769caec96ba299748a8c7ab0ac3f6592
parent085a7cfd26c553adfc3ca9d9dd3e043753b0d3ea (diff)
downloadguichet-ca41c481b189092843cfb8c4382501037131a69a.tar.gz
guichet-ca41c481b189092843cfb8c4382501037131a69a.zip
Drone build with Nix
-rw-r--r--.drone.yml25
1 files changed, 19 insertions, 6 deletions
diff --git a/.drone.yml b/.drone.yml
index 3b1ab00..c2a1dd3 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -1,13 +1,26 @@
---
-pipeline:
- build:
- image: golang:stretch
+kind: pipeline
+name: default
+
+node:
+ nix-daemon: 1
+
+steps:
+ - name: build
+ image: nixpkgs/nix:nixos-22.05
commands:
- - go get -d -v
- - go build -v
+ - nix build --extra-experimental-features nix-command --extra-experimental-features flakes .
+
+trigger:
+ event:
+ - custom
+ - push
+ - pull_request
+ - tag
+ - cron
---
kind: signature
-hmac: 38948cd073f3a0b73ab7bb13ba1b5e18c64c02976abfd6dcd5bf7a4c34197e8c
+hmac: 7fc9d4362327e769e2454229ceb91f587eb11755f1f96207f733e41cc650f693
...