builds/nixos.yml: replace archlinux build

This commit is contained in:
Jeremy Baxter 2024-08-08 16:13:11 +12:00
parent 49bbd5f439
commit 9e350aea93
2 changed files with 25 additions and 31 deletions

25
.builds/nixos.yml Normal file
View file

@ -0,0 +1,25 @@
---
image: nixos/unstable
packages:
- nixos.dmd
- nixos.curl
- nixos.gnumake
- nixos.ldc
environment:
NIX_CONFIG: "experimental-features = nix-command flakes"
sources:
- "https://git.sr.ht/~jeremy/esv"
tasks:
- build-dmd: |
cd esv
./configure -c dmd
make all clean
- build-ldc: |
cd esv
./configure -c ldc2
make
- install: |
nix profile install ./esv
- test: |
# very basic test :)
esv Matthew 5-7 >/dev/null