Initial commit
This commit is contained in:
22
.woodpecker/.build.yml
Normal file
22
.woodpecker/.build.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
steps:
|
||||
build:
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
||||
# Lint
|
||||
- "nix flake check"
|
||||
# Test
|
||||
- nix build
|
||||
- nix run . -- --help
|
||||
- nix run . -- auth --help
|
||||
- nix run . -- lookup-gym --help
|
||||
- nix run . -- fullness --help
|
||||
- nix run . -- activity --help
|
||||
- nix develop --command markdown-link-check README.md
|
||||
- nix develop --command dotnet test
|
||||
- nix develop --command dotnet test --configuration Release
|
||||
|
||||
when:
|
||||
- event: "push"
|
||||
evaluate: 'CI_COMMIT_BRANCH == CI_REPO_DEFAULT_BRANCH'
|
||||
- event: "pull_request"
|
Reference in New Issue
Block a user