Skip to content

Commit 8e9836e

Browse files
committed
fix: replace nix-fast-build with plain nix build and split wrappers builds
1 parent 351eda4 commit 8e9836e

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/actions/nix-install-ephemeral/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ runs:
4444
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
4545
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
4646
${{ inputs.push-to-cache == 'true' && 'post-build-hook = /etc/nix/upload-to-cache.sh' || '' }}
47-
max-jobs = 4
47+
max-jobs = 3

.github/workflows/nix-build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,11 @@ jobs:
6868
df -h
6969
-
7070
name: Build psql bundle
71-
run: >
72-
nix run "github:Mic92/nix-fast-build?rev=b1dae483ab7d4139a6297e02b6de9e5d30e43d48"
73-
-- --skip-cached --no-nom ${{ matrix.runner == 'macos-latest-xlarge' && '--max-jobs 1' || '' }} --copy-to "s3://nix-postgres-artifacts?secret-key=/etc/nix/nix-secret-key"
74-
--flake ".#checks.$(nix eval --raw --impure --expr 'builtins.currentSystem')"
71+
run: |
72+
nix build -L --print-out-paths ".#psql_15/exts/wrappers-all"
73+
nix build -L --print-out-paths ".#psql_17/exts/wrappers-all"
74+
nix build -L --print-out-paths ".#psql_orioledb-17/exts/wrappers-all"
75+
nix build --print-out-paths .#checks
7576
env:
7677
AWS_ACCESS_KEY_ID: ${{ env.AWS_ACCESS_KEY_ID }}
7778
AWS_SECRET_ACCESS_KEY: ${{ env.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)