2019-12-14 19:37:15 +00:00
|
|
|
.template:
|
2018-11-10 12:35:09 +00:00
|
|
|
image: nixos/nix
|
2019-12-15 13:29:16 +00:00
|
|
|
retry: 2
|
2019-12-14 19:37:15 +00: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 12:35:09 +00:00
|
|
|
script:
|
2020-04-11 13:38:52 +00:00
|
|
|
- nix-build tests/default.nix -A ${SUITE}.${VERSION} --arg nonKVM true
|
2018-11-10 12:35:09 +00:00
|
|
|
|
2019-12-14 19:37:15 +00:00
|
|
|
19-09-intern:
|
|
|
|
extends: .template
|
2018-11-10 12:35:09 +00:00
|
|
|
variables:
|
2020-04-11 13:38:52 +00:00
|
|
|
VERSION: "nixpkgs_19_09"
|
2019-12-14 19:37:15 +00:00
|
|
|
SUITE: "intern"
|
2018-11-10 12:35:09 +00:00
|
|
|
|
2019-12-14 19:37:15 +00:00
|
|
|
19-09-extern:
|
|
|
|
extends: .template
|
2018-11-10 12:35:09 +00:00
|
|
|
variables:
|
2020-04-11 13:38:52 +00:00
|
|
|
VERSION: "nixpkgs_19_09"
|
2019-12-14 19:37:15 +00:00
|
|
|
SUITE: "extern"
|
|
|
|
|
|
|
|
19-09-clamav:
|
|
|
|
extends: .template
|
|
|
|
variables:
|
2020-04-11 13:38:52 +00:00
|
|
|
VERSION: "nixpkgs_19_09"
|
2019-12-14 19:37:15 +00:00
|
|
|
SUITE: "clamav"
|
|
|
|
|
|
|
|
unstable-intern:
|
|
|
|
extends: .template
|
|
|
|
variables:
|
2020-04-11 13:38:52 +00:00
|
|
|
VERSION: "nixpkgs_unstable"
|
2019-12-14 19:37:15 +00:00
|
|
|
SUITE: "intern"
|
|
|
|
|
2020-04-11 13:38:52 +00:00
|
|
|
nixpkgs_unstable-extern:
|
2019-12-14 19:37:15 +00:00
|
|
|
extends: .template
|
|
|
|
variables:
|
2020-04-11 13:38:52 +00:00
|
|
|
VERSION: "nixpkgs_unstable"
|
2019-12-14 19:37:15 +00:00
|
|
|
SUITE: "extern"
|
|
|
|
|
2020-04-11 13:38:52 +00:00
|
|
|
nixpkgs_unstable-clamav:
|
2019-12-14 19:37:15 +00:00
|
|
|
extends: .template
|
|
|
|
variables:
|
2020-04-11 13:38:52 +00:00
|
|
|
VERSION: "nixpkgs_unstable"
|
2019-12-14 19:37:15 +00:00
|
|
|
SUITE: "clamav"
|