forked from Nexus/nexus
debug macos
This commit is contained in:
parent
842ab0a82c
commit
6c1d3d8894
1 changed files with 24 additions and 0 deletions
24
.github/workflows/macos.yml
vendored
24
.github/workflows/macos.yml
vendored
|
|
@ -26,9 +26,33 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version-file: gomuks/go.mod
|
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
|
- name: Build app
|
||||||
run: |
|
run: |
|
||||||
flutter pub get
|
flutter pub get
|
||||||
dart scripts/generate.dart
|
dart scripts/generate.dart
|
||||||
flutter pub run build_runner build
|
flutter pub run build_runner build
|
||||||
flutter build macos --release
|
flutter build macos --release
|
||||||
|
|
||||||
|
- name: Upload installer artifact
|
||||||
|
uses: actions/upload-artifact@v6
|
||||||
|
with:
|
||||||
|
name: App
|
||||||
|
path: build/macos/Build/Products/Release/Nexus.app
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue