-
Notifications
You must be signed in to change notification settings - Fork 0
82 lines (82 loc) · 2.19 KB
/
darwin-build.yml
File metadata and controls
82 lines (82 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# This file was autogenerated by actions.nix. Do not edit it manually.
# To make changes, edit the workflow definition in your flake's actions-nix configuration
# (typically under flake.actions-nix.workflows.".github/workflows/darwin-build.yml") and run:
# nix run .#render-workflows
# Or commit to trigger the pre-commit hook if enabled.
jobs:
build-nix-darwin-configuration:
environment:
name: dev
permissions:
contents: write
id-token: write
runs-on: macos-15-intel
steps:
- name: Checkout repo
uses: actions/checkout@main
with:
fetch-depth: 1
persist-credentials: false
- name: Install Nix
uses: nixbuild/nix-quick-install-action@master
- name: Magic Nix Cache(Use Github Actions Cache)
uses: DeterminateSystems/magic-nix-cache-action@main
- name: Configure to use personal binary cache @ Cachix
uses: cachix/cachix-action@master
with:
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
name: divitmittal
- name: SSH-agent with auth for private repos
uses: webfactory/ssh-agent@master
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Builds a nix-darwin configuration
run: nix -vL build --accept-flake-config .#darwinConfigurations.L1.config.system.build.toplevel
--show-trace
timeout-minutes: 90
'on':
pull_request:
branches:
- master
paths-ignore:
- '**/*.md'
- '**/*.adoc'
- '**/*.jpeg'
- '**/*.jpg'
- '**/*.png'
- '**/*.svg'
- .github/**
- .git*
- assets/**
- common/home/**
- common/hosts/droid/**
- common/hosts/nixos/**
- home/**
- hosts/droid/**
- hosts/nixos/**
- modules/home/**
- modules/hosts/droid/**
- modules/hosts/nixos/**
push:
branches:
- master
paths-ignore:
- '**/*.md'
- '**/*.adoc'
- '**/*.jpeg'
- '**/*.jpg'
- '**/*.png'
- '**/*.svg'
- .github/**
- .git*
- assets/**
- common/home/**
- common/hosts/droid/**
- common/hosts/nixos/**
- home/**
- hosts/droid/**
- hosts/nixos/**
- modules/home/**
- modules/hosts/droid/**
- modules/hosts/nixos/**
workflow_dispatch: {}