configuration.nix/.forgejo/workflows/check.yml

24 lines
577 B
YAML
Raw Normal View History

2024-07-20 15:40:11 +02:00
on:
push:
2024-06-08 22:28:27 +02:00
jobs:
check:
runs-on: nixos
steps:
2024-07-20 15:40:11 +02:00
- uses: "https://code.forgejo.org/actions/checkout@v4"
2024-06-08 22:28:27 +02:00
- run: nix --version
- run: nix flake check --keep-going --verbose
2024-06-08 22:28:27 +02:00
build:
runs-on: nixos
strategy:
matrix:
2024-06-08 22:41:09 +02:00
target:
2024-07-20 15:40:11 +02:00
- audiomenu
2024-06-08 22:41:09 +02:00
- docs
2024-07-20 15:40:11 +02:00
- jpassmenu
2024-06-08 22:41:09 +02:00
- nixosConfigurations.vm.config.system.build.toplevel
2024-07-20 15:40:11 +02:00
- nvim
2024-06-08 22:28:27 +02:00
steps:
2024-07-20 15:40:11 +02:00
- uses: "https://code.forgejo.org/actions/checkout@v4"
2024-06-08 22:28:27 +02:00
- run: nix --version
2024-06-08 22:41:09 +02:00
- run: nix build --print-build-logs '.#${{ matrix.target }}'