nur-packages/.drone.yml

101 lines
2.0 KiB
YAML
Raw Normal View History

2020-10-15 18:54:14 +11:00
---
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'
environment:
NIXPKGS_ALLOW_UNFREE: 1
2020-10-15 18:54:14 +11:00
- name: deploy
image: nixpkgs/cachix
commands:
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
environment:
CACHIX_CACHE: xeals
CACHIX_SIGNING_KEY:
from_secret: cachix_key
NIXPKGS_ALLOW_UNFREE: 1
NUR_REPO: xeals
2020-10-15 18:54:14 +11:00
---
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'
environment:
NIXPKGS_ALLOW_UNFREE: 1
2020-10-15 18:54:14 +11:00
- name: deploy
image: nixpkgs/cachix
commands:
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
environment:
CACHIX_CACHE: xeals
CACHIX_SIGNING_KEY:
from_secret: cachix_key
NIXPKGS_ALLOW_UNFREE: 1
NUR_REPO: xeals
2020-10-15 18:54:14 +11:00
---
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'
environment:
NIXPKGS_ALLOW_UNFREE: 1
2020-10-15 18:54:14 +11:00
- name: deploy
image: nixpkgs/cachix
commands:
- nix-build ci.nix -A cacheOutputs | cachix push "${CACHIX_CACHE}"
environment:
CACHIX_CACHE: xeals
CACHIX_SIGNING_KEY:
from_secret: cachix_key
NIXPKGS_ALLOW_UNFREE: 1
NUR_REPO: xeals
2020-10-15 18:54:14 +11:00
...