Add emacs-vm build to weekly workflow

This commit is contained in:
Danilo Reyes 2025-09-28 16:02:22 -06:00
parent 702f5cb2ea
commit 50b20197b8

View File

@ -53,6 +53,12 @@ jobs:
echo "Building server configuration..." echo "Building server configuration..."
nix build .#nixosConfigurations.server.config.system.build.toplevel --quiet nix build .#nixosConfigurations.server.config.system.build.toplevel --quiet
- name: Build emacs-vm
if: steps.check_changes.outputs.changes == 'true'
run: |
echo "Building emacs-vm..."
nix build .#emacs-vm --quiet
- name: Push to cache - name: Push to cache
if: steps.check_changes.outputs.changes == 'true' if: steps.check_changes.outputs.changes == 'true'
run: | run: |
@ -65,6 +71,7 @@ jobs:
# Push the specific system derivations we just built # Push the specific system derivations we just built
nix build .#nixosConfigurations.workstation.config.system.build.toplevel --print-out-paths | attic push servidos:nixos --stdin nix build .#nixosConfigurations.workstation.config.system.build.toplevel --print-out-paths | attic push servidos:nixos --stdin
nix build .#nixosConfigurations.server.config.system.build.toplevel --print-out-paths | attic push servidos:nixos --stdin nix build .#nixosConfigurations.server.config.system.build.toplevel --print-out-paths | attic push servidos:nixos --stdin
nix build .#emacs-vm --print-out-paths | attic push servidos:nixos --stdin
- name: Commit updated flake.lock - name: Commit updated flake.lock
if: steps.check_changes.outputs.changes == 'true' if: steps.check_changes.outputs.changes == 'true'
@ -85,7 +92,7 @@ jobs:
if [[ "${{ steps.check_changes.outputs.changes }}" == "true" ]]; then if [[ "${{ steps.check_changes.outputs.changes }}" == "true" ]]; then
echo "✅ Weekly build completed successfully!" echo "✅ Weekly build completed successfully!"
echo "- Updated flake.lock" echo "- Updated flake.lock"
echo "- Built workstation and server configurations" echo "- Built workstation, server, and emacs-vm configurations"
echo "- Pushed builds to Atticd cache" echo "- Pushed builds to Atticd cache"
echo "- Committed changes and created release tag" echo "- Committed changes and created release tag"
else else