Skip to content

Commit 359e5fb

Browse files
ci: Add MacOS x86-64 binaries to release
The supported architectures for each GitHub Actions runner image can be seen here: https://github.com/actions/runner-images?tab=readme-ov-file#available-images Resolves #3937
1 parent 53ca035 commit 359e5fb

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.github/workflows/build.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
artifact: postgrest-ubuntu-aarch64
9797
deps: sudo apt-get update && sudo apt-get install libpq-dev
9898

99-
- name: MacOS
99+
- name: MacOS aarch64
100100
runs-on: macos-14
101101
cache: |
102102
~/.stack/pantry
@@ -105,6 +105,15 @@ jobs:
105105
artifact: postgrest-macos-aarch64
106106
deps: brew link --force libpq
107107

108+
- name: MacOS x86-64
109+
runs-on: macos-13
110+
cache: |
111+
~/.stack/pantry
112+
~/.stack/snapshots
113+
~/.stack/stack.sqlite3
114+
artifact: postgrest-macos-x86-64
115+
deps: brew link --force libpq
116+
108117
- name: Windows
109118
runs-on: windows-2022
110119
cache: |

.github/workflows/release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ jobs:
8181
tar cJvf "release-bundle/postgrest-${GITHUB_REF_NAME}-macos-aarch64.tar.xz" \
8282
-C artifacts/postgrest-macos-aarch64 postgrest
8383
84+
tar cJvf "release-bundle/postgrest-${GITHUB_REF_NAME}-macos-x86-64.tar.xz" \
85+
-C artifacts/postgrest-macos-x86-64 postgrest
86+
8487
tar cJvf "release-bundle/postgrest-${GITHUB_REF_NAME}-freebsd-x86-64.tar.xz" \
8588
-C artifacts/postgrest-freebsd-x86-64 postgrest
8689

0 commit comments

Comments
 (0)