Skip to content

Commit 33621e4

Browse files
committed
chore(ci): bump macos version to match c dependency
1 parent 8b8de34 commit 33621e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ jobs:
8181
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
8282
# PKG_CONFIG settings for cross-compilation
8383
PKG_CONFIG_ALLOW_CROSS: 1
84-
# Set minimum macOS version to avoid linker errors
85-
MACOSX_DEPLOYMENT_TARGET: "12.0"
84+
# Set minimum macOS version to 14.0 to match C dependency builds
85+
MACOSX_DEPLOYMENT_TARGET: ${{ runner.os == 'macOS' && '14.0' || '' }}
8686

8787
- name: Build satellites
8888
id: build-satellites
@@ -100,8 +100,8 @@ jobs:
100100
CC_aarch64_unknown_linux_gnu: aarch64-linux-gnu-gcc
101101
# PKG_CONFIG settings for cross-compilation
102102
PKG_CONFIG_ALLOW_CROSS: 1
103-
# Set minimum macOS version to avoid linker errors
104-
MACOSX_DEPLOYMENT_TARGET: "12.0"
103+
# Set minimum macOS version to 14.0 to match C dependency builds
104+
MACOSX_DEPLOYMENT_TARGET: ${{ runner.os == 'macOS' && '14.0' || '' }}
105105

106106
- name: Prepare binary
107107
if: steps.build-main.outcome == 'success'

0 commit comments

Comments
 (0)