File tree Expand file tree Collapse file tree 1 file changed +5
-16
lines changed
Expand file tree Collapse file tree 1 file changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -3,9 +3,11 @@ name: macOS CI
33on :
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
1012jobs :
1113 build-and-test-macos :
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
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
You can’t perform that action at this time.
0 commit comments