.gitlab-ci.yaml: init

This commit is contained in:
hand7s 2025-04-23 11:14:01 +03:00
parent 4293154b6e
commit 34a5539ed1
No known key found for this signature in database

23
.gitlab-ci.yml Normal file
View 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