Add build and test steps to the pipeline
This commit is contained in:
+16
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user