just evaluate instead of building artificats for CI
All checks were successful
CI / Flake Check (push) Successful in 1m15s
CI / Format Check (push) Successful in 1s
CI / Evaluate Key Configurations (nix-builder) (push) Successful in 9s
CI / Evaluate Key Configurations (nix-desktop1) (push) Successful in 11s
CI / Evaluate Key Configurations (nix-laptop1) (push) Successful in 8s
CI / Evaluate Artifacts (installer-iso-nix-laptop1) (push) Successful in 16s
CI / Evaluate Artifacts (lxc-nix-builder) (push) Successful in 11s

This commit is contained in:
UGA Innovation Factory
2025-12-18 12:55:27 -05:00
parent 0ba0e854cf
commit 90688ec5f1
3 changed files with 15 additions and 17 deletions

View File

@@ -59,8 +59,8 @@ jobs:
nix eval .#nixosConfigurations.${{ matrix.config }}.config.system.build.toplevel.drvPath \
--show-trace
build-artifacts:
name: Build Artifacts
eval-artifacts:
name: Evaluate Artifacts
runs-on: [self-hosted, nix-builder]
needs: [flake-check, format-check]
strategy:
@@ -73,18 +73,8 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build artifact
- name: Evaluate artifact
run: |
echo "Building artifact ${{ matrix.artifact }}"
nix build .#${{ matrix.artifact }} \
--print-build-logs \
echo "Evaluating artifact ${{ matrix.artifact }}"
nix eval .#${{ matrix.artifact }}.drvPath \
--show-trace
- name: Show build result
run: |
if [ -L result ]; then
ls -lh result/
if [ -d result/iso ]; then
ls -lh result/iso/
fi
fi