File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 4141 run : |
4242 nix build .#darwinConfigurations.${{ matrix.host }}.system --keep-going --print-build-logs --show-trace --verbose
4343
44+ switch-system :
45+ name : Switch to system
46+ runs-on : ${{ matrix.os }}
47+ strategy :
48+ matrix :
49+ host :
50+ - eMac
51+ os :
52+ - macos-14
53+ steps :
54+ - name : Checkout code
55+ uses : actions/checkout@v4
56+ - uses : ./.github/actions/setup
57+ with :
58+ attic_token : ${{ secrets.ATTIC_TOKEN }}
59+ cachix_auth_token : ${{ secrets.CACHIX_AUTH_TOKEN }}
60+ pragmatapro_deploy_key : ${{ secrets.PRAGMATAPRO_DEPLOY_KEY }}
61+ secrets_deploy_key : ${{ secrets.SECRETS_DEPLOY_KEY }}
62+ - name : Build ${{ matrix.host }} host
63+ run : |
64+ # Create /run directory
65+ echo -e "run\tprivate/var/run" | sudo tee -a /etc/synthetic.conf >/dev/null
66+ /System/Library/Filesystems/apfs.fs/Contents/Resources/apfs.util -t &>/dev/null || true
67+ # Prevent conflict between Cachix installed by workflow and the one installed in the config
68+ nix-env --set-flag priority 1 cachix
69+ nix build .#darwinConfigurations.${{ matrix.host }}.system --keep-going --print-build-logs --show-trace --verbose
70+ sudo ./result/sw/bin/darwin-rebuild switch --flake .#${{ matrix.host }}
71+
4472 check :
4573 name : Check flake
4674 runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments