configuration.nix/.forgejo/workflows/check.yml
Jalil David Salamé Messina e7cf864c29
All checks were successful
/ check (push) Successful in 48s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 1s
/ report-size (push) Successful in 1s
feat(ci): report package sizes
Added as a comment to the current pull request
2024-12-15 13:32:12 +01:00

35 lines
894 B
YAML

on:
push:
jobs:
check:
runs-on: nixos
needs: build
steps:
- uses: "https://code.forgejo.org/actions/checkout@v4"
- run: nix --version
- name: Run Checks
run: nix flake check --keep-going --verbose
build:
runs-on: nixos
if: github.event_name == 'push'
strategy:
matrix:
target:
- audiomenu
- docs
- jpassmenu
- nixosConfigurations.vm.config.system.build.toplevel
- nvim
steps:
- uses: "https://code.forgejo.org/actions/checkout@v4"
- run: nix --version
- name: Build target
run: nix build --print-build-logs '.#${{ matrix.target }}'
report-size:
runs-on: nixos
needs: build
steps:
- uses: "https://git.salame.cl/actions/checkout@v4"
- run: nix --version
- name: Report Size
run: ci-scripts/report-size.sh