Skip to content

Commit b67f7ce

Browse files
committed
fix: also pass in nix.conf max-jobs setting on macos
1 parent 3b1f13c commit b67f7ce

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/nix-build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,23 @@ jobs:
7777
extra-conf: |
7878
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
7979
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
80+
- name: Install nix
81+
uses: DeterminateSystems/nix-installer-action@main
82+
if: ${{ github.secret_source == 'None' }} && matrix.runner == 'macos-latest-xlarge'
83+
with:
84+
extra-conf: |
85+
max-jobs =1
86+
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
87+
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
88+
- name: Install nix
89+
uses: DeterminateSystems/nix-installer-action@main
90+
if: ${{ github.secret_source == 'Actions' }} && matrix.runner == 'macos-latest-xlarge'
91+
with:
92+
extra-conf: |
93+
max-jobs = 1
94+
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
95+
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
96+
post-build-hook = /etc/nix/upload-to-cache.sh
8097
- name: Aggressive disk cleanup for DuckDB build
8198
if: matrix.runner == 'macos-latest-xlarge'
8299
run: |

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy