Add build and test steps to the pipeline
This commit is contained in:
+16
-1
@@ -1,9 +1,24 @@
|
|||||||
stages:
|
stages:
|
||||||
- check
|
- check
|
||||||
|
- build
|
||||||
|
|
||||||
check:
|
check:
|
||||||
stage: check
|
stage: check
|
||||||
tags:
|
tags:
|
||||||
- nix
|
- nix
|
||||||
script:
|
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