nixos-config/.forgejo/workflows/nix_build.yaml

50 lines
1.2 KiB
YAML
Raw Normal View History

2024-07-20 22:32:37 +02:00
name: Build all NixOS Configurations
on:
- push
2024-07-19 19:00:35 +02:00
jobs:
2024-07-20 22:32:37 +02:00
nix build:
2024-07-19 19:00:35 +02:00
runs-on: native
steps:
2024-07-19 19:12:42 +02:00
- uses: actions/checkout@v4
2024-07-20 01:23:21 +02:00
2024-07-21 10:29:26 +02:00
# - name: setup ssh
# run: |
# cat <<EOF > .id_rsa
# ${{ secrets.SSH_KEY }}
# EOF
# chmod 600 .id_rsa
#
# eval $(ssh-agent)
# ssh-add .id_rsa
#
# cat <<EOF > "$GITHUB_ENV"
# SSH_AUTH_SOCK="$SSH_AUTH_SOCK"
# SSH_AGENT_PID=$SSH_AGENT_PID
# EOF
#
# - run: nix flake archive
#
# - name: teardown ssh
# if: always()
# run: |
# echo $SSH_AGENT_PID
# kill $SSH_AGENT_PID
#
# - name: nix flake check
# run: nix flake check --verbose --log-format raw
2024-07-21 10:09:56 +02:00
#- name: nix build orbi
# run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel
2024-07-20 22:32:37 +02:00
2024-07-21 10:09:56 +02:00
#- name: nix build cream
# run: nix build .#nixosConfigurations.cream.config.system.build.toplevel
2024-07-20 22:32:37 +02:00
2024-07-21 10:09:56 +02:00
#- name: nix build cherry
# run: nix build .#nixosConfigurations.cherry.config.system.build.toplevel
2024-07-20 22:32:37 +02:00
2024-07-21 10:09:56 +02:00
#- name: nix build chungus
# run: nix build .#nixosConfigurations.chungus.config.system.build.toplevel