diff --git a/.github/workflows/neon_extra_builds.yml b/.github/workflows/neon_extra_builds.yml index 891cc8472a..03506651c8 100644 --- a/.github/workflows/neon_extra_builds.yml +++ b/.github/workflows/neon_extra_builds.yml @@ -32,7 +32,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true fetch-depth: 1 @@ -90,15 +90,15 @@ jobs: - name: Build postgres v14 if: steps.cache_pg_14.outputs.cache-hit != 'true' - run: make postgres-v14 -j$(nproc) + run: make postgres-v14 -j$(sysctl -n hw.ncpu) - name: Build postgres v15 if: steps.cache_pg_15.outputs.cache-hit != 'true' - run: make postgres-v15 -j$(nproc) + run: make postgres-v15 -j$(sysctl -n hw.ncpu) - name: Build postgres v16 if: steps.cache_pg_16.outputs.cache-hit != 'true' - run: make postgres-v16 -j$(nproc) + run: make postgres-v16 -j$(sysctl -n hw.ncpu) - name: Build neon extensions run: make neon-pg-ext -j$(nproc) @@ -129,14 +129,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: submodules: true fetch-depth: 1 # Some of our rust modules use FFI and need those to be checked - name: Get postgres headers - run: make postgres-headers -j$(nproc) + run: make postgres-headers -j$(sysctl -n hw.ncpu) - name: Produce the build stats run: cargo build --all --release --timings