Skip to content

Commit bf41ec7

Browse files
author
Ternic
committed
CORE
1 parent ff0f9b7 commit bf41ec7

1 file changed

Lines changed: 10 additions & 11 deletions

File tree

.github/workflows/build-macos.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: C++11 Build (macOS)
1+
name: C++11 Build (macOS Intel)
22

33
on:
44
push:
@@ -7,23 +7,22 @@ on:
77
branches: ["main"]
88

99
jobs:
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

0 commit comments

Comments
 (0)