77 lines
1.5 KiB
YAML
77 lines
1.5 KiB
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: nixpkgs-unstable
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: build
|
|
image: nixos/nix
|
|
commands:
|
|
- nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixos
|
|
- nix-channel --update
|
|
- nix-build ci.nix -A buildOutputs
|
|
- nix eval -f default.nix 'lib'
|
|
- nix eval -f default.nix 'modules'
|
|
- nix eval -f default.nix 'overlays'
|
|
|
|
- name: deploy
|
|
image: nixpkgs/cachix
|
|
commands:
|
|
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: nixos-unstable
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: build
|
|
image: nixos/nix
|
|
commands:
|
|
- nix-channel --add https://nixos.org/channels/nixos-unstable nixos
|
|
- nix-channel --update
|
|
- nix-build ci.nix -A buildOutputs
|
|
- nix eval -f default.nix 'lib'
|
|
- nix eval -f default.nix 'modules'
|
|
- nix eval -f default.nix 'overlays'
|
|
|
|
- name: deploy
|
|
image: nixpkgs/cachix
|
|
commands:
|
|
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
|
|
|
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: nixos-20.03
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: build
|
|
image: nixos/nix
|
|
commands:
|
|
- nix-channel --add https://nixos.org/channels/nixos-20.03 nixos
|
|
- nix-channel --update
|
|
- nix-build ci.nix -A buildOutputs
|
|
- nix eval -f default.nix 'lib'
|
|
- nix eval -f default.nix 'modules'
|
|
- nix eval -f default.nix 'overlays'
|
|
|
|
- name: deploy
|
|
image: nixpkgs/cachix
|
|
commands:
|
|
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
|
|
|
|
...
|