Separate install from rebuild, allow partial native module failures
Some checks failed
nix-bitcoin tests / build_test_drivers (push) Has been cancelled
nix-bitcoin tests / check_flake (push) Has been cancelled
nix-bitcoin tests / test_scenario (default) (push) Has been cancelled
nix-bitcoin tests / test_scenario (joinmarket-bitcoind-29) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netns) (push) Has been cancelled
nix-bitcoin tests / test_scenario (netnsRegtest) (push) Has been cancelled

This commit is contained in:
Patrick Mulligan 2026-01-09 22:54:49 +01:00
parent 32aff3e6b6
commit 7330cd1d01

View file

@ -400,9 +400,12 @@ in
exit 0
fi
echo "==> Installing dependencies with pnpm..."
# Use --child-concurrency=1 to run install scripts sequentially (avoids race conditions)
pnpm install --no-frozen-lockfile --child-concurrency=1
echo "==> Installing dependencies with pnpm (without scripts)..."
pnpm install --no-frozen-lockfile --ignore-scripts
echo "==> Running native module builds..."
# Run rebuild separately - this compiles native modules
pnpm rebuild || echo "Warning: Some native modules failed to build, continuing anyway..."
echo "==> Building project..."
pnpm build