Skip to content

chore: fix pipeline

chore: fix pipeline #3

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
strategy:
matrix:
os:
- macos-latest
template:
- templates/minimal
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: ${{ matrix.template }}
run: |
cd ${{ matrix.template }}
echo $HOME
echo $USER
# Github Action runners do not support M1 yet.
# nix run nixpkgs#sd 'nixpkgs.hostPlatform = "aarch64-darwin"' 'nixpkgs.hostPlatform = "x86_64-darwin"' flake.nix
# nix run nix-darwin --extra-experimental-features "nix-command flakes" -- switch --flake .#"${hostname}"