From 84af01486d3b74ae8dbf30bb516e81385201ef5a Mon Sep 17 00:00:00 2001 From: "Gabriele N. Tornetta" Date: Wed, 16 Oct 2024 20:40:11 +0100 Subject: [PATCH] ci(release): ensure correct macos target build We make sure that macos binary are built with the expected target platform. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92e7f37..a64cda7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -186,7 +186,7 @@ jobs: export VERSION=$(cat src/austin.h | sed -n -E "s/^#define VERSION[ ]+\"(.+)\"/\1/p") echo "::set-output name=version::$VERSION" - gcc-12 -Wall -O3 -Os -o src/austin src/*.c + clang -Wall -O3 -Os -o src/austin src/*.c -target x86_64-apple-macos11 pushd src zip -r austin-${VERSION}-mac64.zip austin