.gitlab-ci.yaml: init
This commit is contained in:
parent
4293154b6e
commit
34a5539ed1
1 changed files with 23 additions and 0 deletions
23
.gitlab-ci.yml
Normal file
23
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
workflow:
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||
- if: $CI_COMMIT_TAG
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
||||
|
||||
stages:
|
||||
- check
|
||||
- update
|
||||
|
||||
default:
|
||||
image: "nixos/nix:latest"
|
||||
|
||||
check-jobs:
|
||||
stage: check
|
||||
script:
|
||||
- nix --extra-experimental-features 'flakes nix-command' flake check
|
||||
|
||||
update-jobs:
|
||||
stage: update
|
||||
script:
|
||||
- nix --extra-experimental-features 'flakes nix-command' flake update
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue