Skip to content

Commit

Permalink
ci(release): ensure correct macos target build
Browse files Browse the repository at this point in the history
We make sure that macos binary are built with the expected target
platform.
  • Loading branch information
P403n1x87 committed Oct 16, 2024
1 parent d624d58 commit 84af014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84af014

Please sign in to comment.