nixos-mailserver/.gitlab-ci.yml

47 lines
950 B
YAML
Raw Normal View History

2019-12-14 20:37:15 +01:00
.template:
2018-11-10 13:35:09 +01:00
image: nixos/nix
2019-12-15 14:29:16 +01:00
retry: 2
2019-12-14 20:37:15 +01:00
before_script:
# report CPU info so we can monitor if real KVM becomes available. create /dev/kvm to fool nix
- cat /proc/cpuinfo
- ls -l /dev/kvm || true
- touch /dev/kvm
2018-11-10 13:35:09 +01:00
script:
- nix-build tests/default.nix -A ${SUITE}.${VERSION} --arg nonKVM true
2018-11-10 13:35:09 +01:00
2019-12-14 20:37:15 +01:00
19-09-intern:
extends: .template
2018-11-10 13:35:09 +01:00
variables:
VERSION: "nixpkgs_19_09"
2019-12-14 20:37:15 +01:00
SUITE: "intern"
2018-11-10 13:35:09 +01:00
2019-12-14 20:37:15 +01:00
19-09-extern:
extends: .template
2018-11-10 13:35:09 +01:00
variables:
VERSION: "nixpkgs_19_09"
2019-12-14 20:37:15 +01:00
SUITE: "extern"
19-09-clamav:
extends: .template
variables:
VERSION: "nixpkgs_19_09"
2019-12-14 20:37:15 +01:00
SUITE: "clamav"
unstable-intern:
extends: .template
variables:
VERSION: "nixpkgs_unstable"
2019-12-14 20:37:15 +01:00
SUITE: "intern"
nixpkgs_unstable-extern:
2019-12-14 20:37:15 +01:00
extends: .template
variables:
VERSION: "nixpkgs_unstable"
2019-12-14 20:37:15 +01:00
SUITE: "extern"
nixpkgs_unstable-clamav:
2019-12-14 20:37:15 +01:00
extends: .template
variables:
VERSION: "nixpkgs_unstable"
2019-12-14 20:37:15 +01:00
SUITE: "clamav"