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:
|
2020-04-11 15:38:52 +02:00
|
|
|
- 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:
|
2020-04-11 15:38:52 +02:00
|
|
|
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:
|
2020-04-11 15:38:52 +02:00
|
|
|
VERSION: "nixpkgs_19_09"
|
2019-12-14 20:37:15 +01:00
|
|
|
SUITE: "extern"
|
|
|
|
|
|
|
|
19-09-clamav:
|
|
|
|
extends: .template
|
|
|
|
variables:
|
2020-04-11 15:38:52 +02:00
|
|
|
VERSION: "nixpkgs_19_09"
|
2019-12-14 20:37:15 +01:00
|
|
|
SUITE: "clamav"
|
|
|
|
|
|
|
|
unstable-intern:
|
|
|
|
extends: .template
|
|
|
|
variables:
|
2020-04-11 15:38:52 +02:00
|
|
|
VERSION: "nixpkgs_unstable"
|
2019-12-14 20:37:15 +01:00
|
|
|
SUITE: "intern"
|
|
|
|
|
2020-04-11 15:38:52 +02:00
|
|
|
nixpkgs_unstable-extern:
|
2019-12-14 20:37:15 +01:00
|
|
|
extends: .template
|
|
|
|
variables:
|
2020-04-11 15:38:52 +02:00
|
|
|
VERSION: "nixpkgs_unstable"
|
2019-12-14 20:37:15 +01:00
|
|
|
SUITE: "extern"
|
|
|
|
|
2020-04-11 15:38:52 +02:00
|
|
|
nixpkgs_unstable-clamav:
|
2019-12-14 20:37:15 +01:00
|
|
|
extends: .template
|
|
|
|
variables:
|
2020-04-11 15:38:52 +02:00
|
|
|
VERSION: "nixpkgs_unstable"
|
2019-12-14 20:37:15 +01:00
|
|
|
SUITE: "clamav"
|