feat(ci): report package sizes
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

Added as a comment to the current pull request
This commit is contained in:
Jalil David Salamé Messina 2024-12-14 23:49:23 +01:00
parent 6bde92bd91
commit e7cf864c29
Signed by: jalil
GPG key ID: F016B9E770737A0B
3 changed files with 117 additions and 2 deletions

View file

@ -3,12 +3,15 @@ on:
jobs:
check:
runs-on: nixos
needs: build
steps:
- uses: "https://code.forgejo.org/actions/checkout@v4"
- run: nix --version
- run: nix flake check --keep-going --verbose
- name: Run Checks
run: nix flake check --keep-going --verbose
build:
runs-on: nixos
if: github.event_name == 'push'
strategy:
matrix:
target:
@ -20,4 +23,13 @@ jobs:
steps:
- uses: "https://code.forgejo.org/actions/checkout@v4"
- run: nix --version
- run: nix build --print-build-logs '.#${{ matrix.target }}'
- 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