This repository was archived by the owner on May 21, 2026. It is now read-only.
Repository navigation
ci: disable Linux runner in GHA for now #76
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| workflow_dispatch: {} | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| darwin-rebuild: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # TODO find a way to make this consistent with the Makefile | |
| - run: make /nix | |
| - uses: DeterminateSystems/magic-nix-cache-action@main | |
| - run: make /opt/homebrew/bin/brew | |
| - name: before-nix-darwin-overwrite | |
| run: | | |
| sudo mv /etc/bashrc /etc/bashrc.before-nix-darwin | |
| sudo mv /etc/zshrc /etc/zshrc.before-nix-darwin | |
| - name: darwin-rebuild | |
| run: | | |
| sudo /nix/var/nix/profiles/default/bin/nix \ | |
| --experimental-features 'nix-command flakes' \ | |
| run \ | |
| 'git+https://github.com/nix-darwin/nix-darwin.git?ref=nix-darwin-25.11#darwin-rebuild' \ | |
| -- \ | |
| switch --flake .#test |