Setup ci on gitlab
This commit is contained in:
parent
817d84d36d
commit
a4046a1227
2 changed files with 41 additions and 8 deletions
41
.gitlab-ci.yml
Normal file
41
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
nixos-intern:
|
||||||
|
image: nixos/nix
|
||||||
|
variables:
|
||||||
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz"
|
||||||
|
script:
|
||||||
|
- nix-build tests/intern.nix
|
||||||
|
|
||||||
|
nixos-extern:
|
||||||
|
image: nixos/nix
|
||||||
|
variables:
|
||||||
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz"
|
||||||
|
script:
|
||||||
|
- nix-build tests/extern.nix
|
||||||
|
|
||||||
|
nixos-clamav:
|
||||||
|
image: nixos/nix
|
||||||
|
variables:
|
||||||
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz"
|
||||||
|
script:
|
||||||
|
- nix-build tests/clamav.nix
|
||||||
|
|
||||||
|
nixos-unstable-intern:
|
||||||
|
image: nixos/nix
|
||||||
|
variables:
|
||||||
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
|
||||||
|
script:
|
||||||
|
- nix-build tests/intern.nix
|
||||||
|
|
||||||
|
nixos-unstable-extern:
|
||||||
|
image: nixos/nix
|
||||||
|
variables:
|
||||||
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
|
||||||
|
script:
|
||||||
|
- nix-build tests/extern.nix
|
||||||
|
|
||||||
|
nixos-unstable-clamav:
|
||||||
|
image: nixos/nix
|
||||||
|
variables:
|
||||||
|
NIX_PATH: "nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
|
||||||
|
script:
|
||||||
|
- nix-build tests/clamav.nix
|
|
@ -1,8 +0,0 @@
|
||||||
language: nix
|
|
||||||
env:
|
|
||||||
- NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-18.03.tar.gz"
|
|
||||||
- NIX_PATH="nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz"
|
|
||||||
script:
|
|
||||||
- nix-build tests/intern.nix
|
|
||||||
- nix-build tests/extern.nix
|
|
||||||
- nix-build tests/clamav.nix
|
|
Loading…
Reference in a new issue