1
0
Fork 0

Add build.yml for Sourcehut

This commit is contained in:
Sebastian Schulze 2022-03-04 12:46:30 +01:00
parent 266f35b06f
commit 9d677ccba6
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 17 additions and 0 deletions

17
.build.yml Normal file
View File

@ -0,0 +1,17 @@
---
image: nixos/unstable
repositories:
nixpkgs: https://nixos.org/channels/nixpkgs-unstable
secrets:
- 98286ad0-2479-4e58-a1c6-bf5cd4dba009
sources:
- git@git.sr.ht:~bascht/scanberry
packages:
- nixos.go
- nixos.gnumake
tasks:
- build: |
cd scanberry
go install
go build
go test