diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5ebc82c9c2..eb6f3ff8e6 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -40,19 +40,22 @@ jobs: docker: postgrest-linux-docker-x64 - name: MacOS - runs-on: macos-latest + runs-on: flyci-macos-large-latest-m1 artifact: postgrest-macos-static-x64 docker: postgrest-macos-docker-x64 + volume: disk1 name: Nix - ${{ matrix.name }} static runs-on: ${{ matrix.runs-on }} + env: + NIX_VOLUME_USE_SPECIAL: ${{ matrix.volume }} steps: - uses: actions/checkout@v4 - name: Setup Nix Environment uses: ./.github/actions/setup-nix - name: Build static executable - run: nix-build -A postgrestStatic + run: nix-build -j6 -A postgrestStatic - name: Save built executable as artifact uses: actions/upload-artifact@v4 with: