Skip to content

Update fetchgit* refs (#141) #165

Update fetchgit* refs (#141)

Update fetchgit* refs (#141) #165

Workflow file for this run

name: Cachix
on:
workflow_dispatch:
push:
branches:
- main
paths-ignore:
- '.github/**'
jobs:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: anthonyenr1quez
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix flake archive
- run: nix build .#nixosConfigurations.mothership.config.system.build.toplevel
intel-macos:
# runs-on: macos-12 # drachenflieger is on this version but runner deprecated
runs-on: macos-13
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: anthonyenr1quez
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build .#darwinConfigurations.drachenflieger.config.system.build.toplevel
arm-macos:
runs-on: macos-15
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Setup Cachix
uses: cachix/cachix-action@v15
with:
name: anthonyenr1quez
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build .#darwinConfigurations.MacBook-Pro-2.config.system.build.toplevel
- run: nix build .#darwinConfigurations.damascus.config.system.build.toplevel