Compare commits
3 commits
main
...
ci/woodpec
Author | SHA1 | Date | |
---|---|---|---|
Christoph Heiss | 46433fe3e6 | ||
Christoph Heiss | d38a47cc3a | ||
Christoph Heiss | ebdc89c63f |
24
.woodpecker/check-flake-files.yaml
Normal file
24
.woodpecker/check-flake-files.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
when:
|
||||
- event: push
|
||||
- event: pull_request
|
||||
path:
|
||||
'flakes/**/*.toml'
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: docker.io/nixos/nix
|
||||
environment:
|
||||
NIX_CONFIG: 'experimental-features = nix-command flakes'
|
||||
RUST_LOG: debug
|
||||
commands:
|
||||
- |
|
||||
shopt -s globstar
|
||||
for f in flakes/**/*.toml; do
|
||||
echo "checking $f"
|
||||
nix run --accept-flake-config .#flake-info -- --json group "$f" "$(basename "$f" .toml)" --report
|
||||
if [[ -f report.txt ]]; then
|
||||
cat report.txt
|
||||
exit 1
|
||||
fi
|
||||
done
|
19
.woodpecker/frontend.yaml
Normal file
19
.woodpecker/frontend.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
when:
|
||||
- event: push
|
||||
- event: pull_request
|
||||
path:
|
||||
- 'frontend/**'
|
||||
- flake.nix
|
||||
- flake.lock
|
||||
- VERSION
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: docker.io/nixos/nix
|
||||
environment:
|
||||
NIX_CONFIG: 'experimental-features = nix-command flakes'
|
||||
commands:
|
||||
- nix -vL build .#frontend
|
||||
- mkdir ./dist
|
||||
- cp -RL ./result/* ./dist/
|
|
@ -28,16 +28,6 @@ type = "github"
|
|||
owner = "nix-community"
|
||||
repo = "fenix"
|
||||
|
||||
[[sources]]
|
||||
type = "github"
|
||||
owner = "fort-nix"
|
||||
repo = "nix-bitcoin"
|
||||
|
||||
[[sources]]
|
||||
type = "gitlab"
|
||||
owner = "pi-lar"
|
||||
repo = "neuropil"
|
||||
|
||||
[[sources]]
|
||||
type = "github"
|
||||
owner = "Mic92"
|
||||
|
@ -109,8 +99,3 @@ repo = "filestash-nix"
|
|||
type = "github"
|
||||
owner = "nix-community"
|
||||
repo = "nix-vscode-extensions"
|
||||
|
||||
[[sources]]
|
||||
type = "github"
|
||||
owner = "hyprwm"
|
||||
repo = "hyprland"
|
||||
|
|
Loading…
Reference in a new issue