Skip to content

Commit

Permalink
ci: fix the bundled tcc for macos arm64 (#21299)
Browse files Browse the repository at this point in the history
  • Loading branch information
spytheman committed Apr 17, 2024
1 parent 16beb69 commit 9ccdc7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/binary_artifact.yml
Expand Up @@ -78,6 +78,7 @@ jobs:
TARGET_CFLAGS: -target arm64-apple-darwin
VFLAGS: -skip-unused -cc clang
ZIPNAME: v_macos_arm64.zip
TCC_OPTS: --branch thirdparty-macos-arm64
steps:
- uses: actions/checkout@v4
- name: Compile
Expand All @@ -86,6 +87,10 @@ jobs:
./v -cflags "$TARGET_CFLAGS" -prod cmd/tools/vup.v
./v -cflags "$TARGET_CFLAGS" -prod cmd/tools/vdoctor.v
./v -cflags "$TARGET_CFLAGS" -prod -o v cmd/v
- name: Get correct TCC for ARM64
run: |
rm -rf thirdparty/tcc
git clone $TCC_OPTS https://github.com/vlang/tccbin thirdparty/tcc
- name: Remove excluded
run: |
rm -rf .git/
Expand Down

0 comments on commit 9ccdc7d

Please sign in to comment.