From b6c6bb27a875ca713b063b8e2876744723737463 Mon Sep 17 00:00:00 2001 From: steve-chavez Date: Fri, 3 Apr 2026 18:50:05 -0500 Subject: [PATCH] ci: reinstate macos x86 releases Closes https://github.com/PostgREST/postgrest/issues/4755 --- .github/actionlint.yml | 1 + .github/workflows/build.yaml | 9 +++++++++ .github/workflows/release.yaml | 3 +++ .github/workflows/test.yaml | 1 + 4 files changed, 14 insertions(+) diff --git a/.github/actionlint.yml b/.github/actionlint.yml index c0783796e..61588b7be 100644 --- a/.github/actionlint.yml +++ b/.github/actionlint.yml @@ -2,4 +2,5 @@ # and made its way to us through nixpkgs. self-hosted-runner: labels: + - macos-15-intel - ubuntu-24.04-arm diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7df5f165f..f9e5b799e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -105,6 +105,15 @@ jobs: artifact: postgrest-macos-aarch64 deps: brew link --force libpq + - name: MacOS x86-64 + runs-on: macos-15-intel + cache: | + ~/.stack/pantry + ~/.stack/snapshots + ~/.stack/stack.sqlite3 + artifact: postgrest-macos-x86-64 + deps: brew link --force libpq + - name: Windows runs-on: windows-2022 cache: | diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d2a1c7f6c..43e8d036d 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -81,6 +81,9 @@ jobs: tar cJvf "release-bundle/postgrest-${GITHUB_REF_NAME}-macos-aarch64.tar.xz" \ -C artifacts/postgrest-macos-aarch64 postgrest + tar cJvf "release-bundle/postgrest-${GITHUB_REF_NAME}-macos-x86-64.tar.xz" \ + -C artifacts/postgrest-macos-x86-64 postgrest + tar cJvf "release-bundle/postgrest-${GITHUB_REF_NAME}-freebsd-x86-64.tar.xz" \ -C artifacts/postgrest-freebsd-x86-64 postgrest diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7587778e0..26f1fd4b7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -156,6 +156,7 @@ jobs: fail-fast: false matrix: runs-on: + - macos-15-intel # x86_64-darwin - macos-14 # aarch64-darwin - ubuntu-24.04 # x86_64-linux - ubuntu-24.04-arm # aarch64-linux