Add build and test steps to the pipeline

This commit is contained in:
Greg Hellings
2024-10-20 21:35:10 -05:00
parent 0d095d23bf
commit 96453a4368
2 changed files with 16 additions and 2 deletions
+16 -1
View File
@@ -1,9 +1,24 @@
stages:
- check
- build
check:
stage: check
tags:
- nix
script:
- nix flake check
- nix develop -c pre-commit run --all-files
build:
stage: build
tags:
- nix
script:
- nix build
test:
stage: build
tags:
- nix
script:
- nix develop -c cargo test