Compare commits

..

3 commits

Author SHA1 Message Date
Christoph Heiss 46433fe3e6
flakes: manual: drop some broken & unwanted entries
All checks were successful
ci/woodpecker/push/frontend Pipeline was successful
ci/woodpecker/push/check-flake-files Pipeline was successful
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-07-04 00:46:29 +02:00
Christoph Heiss d38a47cc3a
ci: add woodpecker workflow for checking flake files
Some checks failed
ci/woodpecker/push/frontend Pipeline was successful
ci/woodpecker/push/check-flake-files Pipeline failed
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-06-19 23:09:24 +02:00
Christoph Heiss ebdc89c63f
ci: add woodpecker workflow for building frontend
All checks were successful
ci/woodpecker/push/frontend Pipeline was successful
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
2024-06-19 15:26:20 +02:00
3 changed files with 43 additions and 15 deletions

View 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
View 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/

View file

@ -28,16 +28,6 @@ type = "github"
owner = "nix-community" owner = "nix-community"
repo = "fenix" repo = "fenix"
[[sources]]
type = "github"
owner = "fort-nix"
repo = "nix-bitcoin"
[[sources]]
type = "gitlab"
owner = "pi-lar"
repo = "neuropil"
[[sources]] [[sources]]
type = "github" type = "github"
owner = "Mic92" owner = "Mic92"
@ -109,8 +99,3 @@ repo = "filestash-nix"
type = "github" type = "github"
owner = "nix-community" owner = "nix-community"
repo = "nix-vscode-extensions" repo = "nix-vscode-extensions"
[[sources]]
type = "github"
owner = "hyprwm"
repo = "hyprland"