~aasg/nixexprs

ref: 1286f4fa6d0b5c8409fd60ae92d1bb2e69a39da9 nixexprs/.builds/nixos-20.09.yml -rw-r--r-- 794 bytes
1286f4fa — Aluísio Augusto Silva Gonçalves Merge branch 'macos-ci' into master 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
image: nixos/latest # TODO: replace with nixos/20.09 once it's available
repositories:
  nixos: https://nixos.org/channels/nixos-20.09
packages:
  - nixos.cachix
sources:
  - https://git.sr.ht/~aasg/nixexprs
secrets:
  - 06d44cfd-6ded-45c4-9ef4-8e1433f9054e
tasks:
  - prepare: |
      cachix use aasg-nixexprs
      nix path-info --all | grep -v '\.drv$' | sort >pre-build-paths
  - build: |
      nix-build --no-out-link --keep-going --keep-failed --show-trace ./nixexprs/ci.nix || touch FAILED
  - cache: |
      nix path-info --all | grep -v '\.drv$' | sort >post-build-paths
      comm -13 pre-build-paths post-build-paths | cachix push aasg-nixexprs
  - finish: |
      if [[ -f FAILED ]]; then
        echo "Build failed. See logs of the build task for details."
        exit 1
      fi