aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-05-14 20:55:29 -0700
committerMichael Forney <mforney@mforney.org>2019-05-14 20:55:29 -0700
commitdb14c560d4658a0ed668a04b8f0d9f54bbb77050 (patch)
treed643853d8238622e6f0d012487e0300ed9ac36f6
parentac8027bba347463f476a6f8a443ff4c079e985a3 (diff)
Add NixOS continuous build
-rw-r--r--.builds/nixos.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.builds/nixos.yml b/.builds/nixos.yml
new file mode 100644
index 0000000..c537f7d
--- /dev/null
+++ b/.builds/nixos.yml
@@ -0,0 +1,17 @@
+image: nixos/latest
+sources:
+- https://git.sr.ht/~mcf/cc
+- git://c9x.me/qbe.git
+repositories:
+ nixpkgs: https://nixos.org/channels/nixpkgs-unstable
+packages:
+- nixpkgs.gcc
+- nixpkgs.gnumake
+environment:
+ PATH: $HOME/qbe/obj:$PATH
+tasks:
+- build: |
+ make -C qbe
+ cd cc
+ ./configure --with-ldso=
+ make all check bootstrap