set SDKROOT for macos build

This commit is contained in:
Henry Hiles 2026-08-08 20:20:02 -04:00
commit 75ad6cbd02
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
2 changed files with 3 additions and 18 deletions

View file

@ -26,24 +26,6 @@ jobs:
with:
go-version-file: gomuks/go.mod
- name: Debug macOS compiler
run: |
echo "CC:"
go env CC
echo "SDKROOT:"
echo "$SDKROOT"
echo "xcrun SDK:"
xcrun --sdk macosx --show-sdk-path
echo "clang:"
xcrun --sdk macosx --find clang
echo "clang search paths:"
echo '#include <stdlib.h>' | \
xcrun --sdk macosx clang -v -E -x c - >/dev/null
- name: Build app
run: |
flutter pub get