Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,28 @@ on:
- cron: '0 0 * * 0' # Every Sunday at midnight UTC

jobs:
build:
name: Build macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: hardselius
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
- name: Build config
run: |
nix build .#darwinConfigurations.githubActions.system
- name: Fix Sequoia nixbld users
run: |
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/pr/1448 | sh -s -- repair sequoia --move-existing-users --no-confirm
- name: Switch to bootstrap config
run: |
./result/sw/bin/darwin-rebuild switch --flake .#githubActions

build-darwin-env:
name: Build/cache Darwin Nix env
runs-on: macos-latest
Expand Down