File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 3737 uses : actions/cache@v3
3838 with :
3939 path : |
40- ./sdk
40+ .. /sdk
4141 key : macos-sdk-${{ steps.sdk-version.outputs.version }}
4242 restore-keys : |
4343 macos-sdk-
4747 run : |
4848 curl -OsL https://github.com/phracker/MacOSX-SDKs/releases/download/${{ steps.sdk-version.outputs.version }}/MacOSX${{ steps.sdk-version.outputs.version }}.sdk.tar.xz
4949 tar xf MacOSX${{ steps.sdk-version.outputs.version }}.sdk.tar.xz
50- mv MacOSX${{ steps.sdk-version.outputs.version }}.sdk ./sdk
50+ mv MacOSX${{ steps.sdk-version.outputs.version }}.sdk ../sdk
51+ rm MacOSX${{ steps.sdk-version.outputs.version }}.sdk.tar.xz
5152
5253 - name : Cache Go Modules
5354 uses : actions/cache@v3
Original file line number Diff line number Diff line change @@ -47,15 +47,15 @@ builds:
4747 goarch : amd64
4848 goamd64 : v1
4949 env :
50- - CGO_LDFLAGS=-mmacosx-version-min=10.14 --sysroot ./sdk -F/System/Library/Frameworks -L/usr/lib
51- - CC=zig cc -target x86_64-macos-gnu -isysroot ./sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks
52- - CXX=zig c++ -target x86_64-macos-gnu -isysroot ./sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks
50+ - CGO_LDFLAGS=-mmacosx-version-min=10.14 --sysroot .. /sdk -F/System/Library/Frameworks -L/usr/lib
51+ - CC=zig cc -target x86_64-macos-gnu -isysroot .. /sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks
52+ - CXX=zig c++ -target x86_64-macos-gnu -isysroot .. /sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks
5353 - goos : darwin
5454 goarch : arm64
5555 env :
56- - CGO_LDFLAGS=-mmacosx-version-min=11.1 --sysroot ./sdk -F/System/Library/Frameworks -L/usr/lib
57- - CC=zig cc -target aarch64-macos-gnu -isysroot ./sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks
58- - CXX=zig c++ -target aarch64-macos-gnu -isysroot ./sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks
56+ - CGO_LDFLAGS=-mmacosx-version-min=11.1 --sysroot .. /sdk -F/System/Library/Frameworks -L/usr/lib
57+ - CC=zig cc -target aarch64-macos-gnu -isysroot .. /sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks
58+ - CXX=zig c++ -target aarch64-macos-gnu -isysroot .. /sdk -iwithsysroot /usr/include -iframeworkwithsysroot /System/Library/Frameworks
5959archives :
6060 - format : binary
6161checksum :
You can’t perform that action at this time.
0 commit comments