From a741050ea4ee2ab896924a7a0502a97ce8a099ea Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 11 Nov 2023 14:47:47 +0200 Subject: [PATCH] ci: fix build-macos-arm64 in binary_artifact.yml --- .github/workflows/binary_artifact.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/binary_artifact.yml b/.github/workflows/binary_artifact.yml index 4feef18eccd408..42b1ddf014bcc7 100644 --- a/.github/workflows/binary_artifact.yml +++ b/.github/workflows/binary_artifact.yml @@ -76,16 +76,16 @@ jobs: runs-on: macos-latest env: CC: clang - CFLAGS: -target arm64-apple-darwin + TARGET_CFLAGS: -target arm64-apple-darwin ZIPNAME: v_macos_arm64.zip steps: - uses: actions/checkout@v1 - name: Compile run: | make - ./v -skip-unused -cc $CC -cflags "$CFLAGS" -prod -o v cmd/v - ./v -skip-unused -cc $CC -cflags "$CFLAGS" -prod cmd/tools/vup.v - ./v -skip-unused -cc $CC -cflags "$CFLAGS" -prod cmd/tools/vdoctor.v + ./v -skip-unused -cc $CC -cflags "$TARGET_CFLAGS" -prod cmd/tools/vup.v + ./v -skip-unused -cc $CC -cflags "$TARGET_CFLAGS" -prod cmd/tools/vdoctor.v + ./v -skip-unused -cc $CC -cflags "$TARGET_CFLAGS" -prod -o v cmd/v - name: Remove excluded run: | rm -rf .git/