Implement Nix in CircleCI
This flow currently only builds the nix package using the official Nix docker images. It will run all phases, but will not test the package once built. It does run the checks though.
commitd3b62e2e862be33b5f89d82a4ef7bff1dd32b73f
authorguillaume <guillaume@repl.it>
dateMon 28 Jun 2021, 10:46 (5 years ago)
parent27ea088
.circleci/config.yml+10
@@ -14,6 +14,12 @@ jobs:
1414 - checkout
1515 - setup_remote_docker
1616 - run: make test-image
17+ nix_build:
18+ docker:
19+ - image: nixos/nix
20+ steps:
21+ - checkout
22+ - run: nix-build
1723 build_test_and_deploy:
1824 docker:
1925 - image: docker:18.09
@@ -43,6 +49,10 @@ workflows:
4349 filters:
4450 branches:
4551 ignore: master
52+ - nix_build:
53+ filters:
54+ branches:
55+ ignore: master
4656 - build_test_and_deploy:
4757 context: Docker Hub
4858 filters: