ci: Add support for Cirrus CI

This commit is contained in:
Tim Ruffing
2020-12-22 16:42:08 +01:00
parent f2d9aeae6d
commit 8c02e465c5
9 changed files with 293 additions and 1 deletions

12
ci/linux-nixos.Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM nixos/nix
COPY ci/shell.nix /tmp
COPY ci/shell-i686.nix /tmp
RUN nix-channel --remove nixpkgs
RUN nix-channel --add https://nixos.org/channels/nixos-20.09 nixpkgs
RUN nix-channel --update
# Run dummy command "true" in the nix-shell just to get the packages prepared.
RUN nix-shell /tmp/shell.nix --command true
RUN nix-shell /tmp/shell-i686.nix --command true