Skip to content

Commit 13903ca

Browse files
committed
Revert "fix: resolve macOS CI build issues"
This reverts commit aee9788.
1 parent aee9788 commit 13903ca

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/macos-ci.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ name: macOS CI
33
on:
44
workflow_dispatch: # Manual trigger only
55
push:
6-
branches: [ main, 'release/**' ] # Run on main and release branches
7-
paths-ignore: # Skip for docs directory only
6+
branches: [ main ] # Only run on main branch pushes
7+
paths-ignore: # Skip for documentation changes
8+
- '**.md'
89
- 'docs/**'
10+
- '.github/**'
911

1012
jobs:
1113
build-and-test-macos:
@@ -38,14 +40,6 @@ jobs:
3840
key: macos-homebrew-${{ hashFiles('.github/workflows/macos-ci.yml') }}
3941
restore-keys: macos-homebrew-
4042

41-
- name: Setup Xcode command line tools
42-
run: |
43-
# Ensure Xcode command line tools are properly set up
44-
sudo xcode-select --install || true
45-
sudo xcode-select --reset
46-
# Set Xcode path explicitly
47-
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
48-
4943
- name: Install dependencies (macOS)
5044
run: |
5145
brew install cmake ninja nlohmann-json
@@ -58,12 +52,7 @@ jobs:
5852
5953
- name: Configure CMake
6054
run: |
61-
# Set environment variables to help with linking
62-
export MACOSX_DEPLOYMENT_TARGET=11.0
63-
export SYSTEM_VERSION_COMPAT=0
64-
# Configure with explicit settings
65-
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLMCPP_BUILD_TESTS=ON \
66-
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0
55+
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DLLMCPP_BUILD_TESTS=ON
6756
6857
- name: Build
6958
timeout-minutes: 20

0 commit comments

Comments
 (0)