File tree 3 files changed +4
-29
lines changed
3 files changed +4
-29
lines changed Original file line number Diff line number Diff line change 58
58
asset_content_type : application/octet-stream
59
59
env :
60
60
GITHUB_TOKEN : ${{ github.token }}
61
- build-macos :
62
- needs : create-release
63
- runs-on : macos-14
64
- steps :
65
- - uses : actions/checkout@v2
66
- - name : Build
67
- run : |
68
- cd src
69
- make -f Makefile.macos-x86.mk loda LODA_PLATFORM=macos LODA_VERSION=${{ needs.create-release.outputs.version }}
70
- mv loda loda-x86
71
- make clean
72
- make -f Makefile.macos-arm64.mk loda LODA_PLATFORM=macos LODA_VERSION=${{ needs.create-release.outputs.version }}
73
- mv loda loda-arm64
74
- lipo -create -output loda loda-x86 loda-arm64
75
- rm loda-x86 loda-arm64
76
- file loda
77
- - name : Upload
78
- uses : actions/upload-release-asset@v1
79
- with :
80
- upload_url : ${{ needs.create-release.outputs.upload_url }}
81
- asset_path : ./loda
82
- asset_name : loda-macos
83
- asset_content_type : application/octet-stream
84
- env :
85
- GITHUB_TOKEN : ${{ github.token }}
86
61
build-macos-x86 :
87
62
needs : create-release
88
63
runs-on : macos-14
Original file line number Diff line number Diff line change 1
1
# BEGIN PLATFORM CONFIG FOR MAC OS ARM64
2
2
CXX = clang++
3
- CXXFLAGS = -target arm64-apple-macos11
4
- LDFLAGS = -target arm64-apple-macos11
3
+ CXXFLAGS = -target arm64-apple-macos14
4
+ LDFLAGS = -target arm64-apple-macos14
5
5
# END PLATFORM CONFIG FOR MAC OS ARM64
6
6
7
7
include Makefile
Original file line number Diff line number Diff line change 1
1
# BEGIN PLATFORM CONFIG FOR MAC OS X86
2
2
CXX = clang++
3
- CXXFLAGS = -target x86_64-apple-macos11
4
- LDFLAGS = -target x86_64-apple-macos11
3
+ CXXFLAGS = -target x86_64-apple-macos14
4
+ LDFLAGS = -target x86_64-apple-macos14
5
5
# END PLATFORM CONFIG FOR MAC OS X86
6
6
7
7
include Makefile
You can’t perform that action at this time.
0 commit comments