File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : C++11 Build (macOS)
1+ name : C++11 Build (macOS Intel )
22
33on :
44 push :
77 branches : ["main"]
88
99jobs :
10- build-macos :
11- runs-on : macos-latest # Uses macOS 14 (Sonoma) with Xcode 15
10+ build-macos-intel :
11+ runs-on : macos-13 # macOS Ventura (last version with Intel support)
12+ env :
13+ MACOSX_DEPLOYMENT_TARGET : " 10.15" # Optional: Set min macOS version
1214
1315 steps :
1416 - name : Checkout code
1517 uses : actions/checkout@v4
1618
17- - name : Install dependencies (if needed )
19+ - name : Build for Intel (x86_64 )
1820 run : |
19- brew update
20- brew install make # Usually pre-installed on macOS runners
21+ # Explicitly compile for x86_64
22+ make CXX="clang++ -target x86_64-apple-macos10.15"
2123
22- - name : Build with Make
23- run : make
24-
25- - name : Upload artifact
24+ - name : Upload Intel binary
2625 uses : actions/upload-artifact@v4
2726 with :
28- name : vps_srv-macos
27+ name : vps_srv-macos-intel
2928 path : vps_srv
You can’t perform that action at this time.
0 commit comments