All checks were successful
/ check-fmt (push) Successful in 3s
/ build-package (audiomenu) (push) Successful in 1s
/ build-package (docs) (push) Successful in 1s
/ build-package (docs-home-markdown) (push) Successful in 1s
/ build-package (docs-nixos-markdown) (push) Successful in 1s
/ build-package (docs-nvim-markdown) (push) Successful in 1s
/ build-package (jpassmenu) (push) Successful in 1s
/ build-package (nvim) (push) Successful in 2s
/ build-package (nvim-headless) (push) Successful in 2s
/ build-package (nvim-no-lsps) (push) Successful in 2s
/ build-package (nvim-no-ts) (push) Successful in 1s
/ build-package (nvim-small) (push) Successful in 2s
/ build-package (search) (push) Successful in 1s
/ check-nvim (nvim) (push) Successful in 6s
/ check-nvim (nvim-headless) (push) Successful in 3s
/ check-nvim (nvim-no-lsps) (push) Successful in 5s
/ check-nvim (nvim-no-ts) (push) Successful in 6s
/ check-nvim (nvim-small) (push) Successful in 6s
/ build-vm (push) Successful in 1s
/ report-size (push) Successful in 4s
This pulls in the changes to check the homeConfigurations
86 lines
2.7 KiB
YAML
86 lines
2.7 KiB
YAML
on:
|
|
push:
|
|
jobs:
|
|
check-fmt:
|
|
runs-on: nixos
|
|
steps:
|
|
- uses: https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
|
- run: nix --version
|
|
- name: Run treefmt
|
|
run: |
|
|
nix build --print-build-logs ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem).treefmt"
|
|
build-package:
|
|
runs-on: nixos
|
|
needs: check-fmt
|
|
strategy:
|
|
matrix:
|
|
package:
|
|
- audiomenu
|
|
- docs
|
|
- docs-home-markdown
|
|
- docs-nixos-markdown
|
|
- docs-nvim-markdown
|
|
- jpassmenu
|
|
- nvim
|
|
- nvim-headless
|
|
- nvim-no-lsps
|
|
- nvim-no-ts
|
|
- nvim-small
|
|
- search
|
|
steps:
|
|
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
|
- run: nix --version
|
|
- name: Build target
|
|
env:
|
|
PACKAGE: ${{ matrix.package }}
|
|
run: |
|
|
# shellcheck disable=SC2016
|
|
nix build --print-build-logs ".#$PACKAGE"
|
|
check-nvim:
|
|
runs-on: nixos
|
|
needs: build-package
|
|
strategy:
|
|
matrix:
|
|
nvim:
|
|
- nvim
|
|
- nvim-headless
|
|
- nvim-no-lsps
|
|
- nvim-no-ts
|
|
- nvim-small
|
|
steps:
|
|
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
|
- run: nix --version
|
|
- name: Build target
|
|
env:
|
|
NVIM: ${{ matrix.nvim }}
|
|
run: |
|
|
nix build --print-build-logs ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem).$NVIM"
|
|
build-vm:
|
|
runs-on: nixos
|
|
needs:
|
|
- build-package
|
|
- check-nvim
|
|
steps:
|
|
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
|
- run: nix --version
|
|
- name: Build VM configuration
|
|
run: |
|
|
nix build --print-build-logs '.#nixosConfigurations.vm.config.system.build.toplevel'
|
|
report-size:
|
|
runs-on: nixos
|
|
needs:
|
|
- build-vm
|
|
steps:
|
|
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
|
|
- run: nix --version
|
|
- name: Create Size Report
|
|
uses: "https://git.salame.cl/jalil/nix-flake-outputs-size@838f2050208b41c339803a1111608d7182bbda3e" # main
|
|
with:
|
|
# Create a comment on the associated PR
|
|
comment-on-pr: ${{ github.ref_name != 'main' }}
|
|
# Generate artifacts on main (to speed up comparisons)
|
|
generate-artifact: ${{ github.ref_name == 'main' }}
|
|
# Generate comparisons to main
|
|
do-comparison: 'true'
|
|
# This job's name (so we can find the artifacts)
|
|
job-name: report-size
|