File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -676,6 +676,40 @@ jobs:
676676 -DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ggml
677677 cmake --build build --config Release -j $(sysctl -n hw.logicalcpu) -- CODE_SIGNING_ALLOWED=NO
678678
679+ macOS-latest-cmake-visionos :
680+ runs-on : macos-latest
681+
682+ steps :
683+ - name : Clone
684+ id : checkout
685+ uses : actions/checkout@v4
686+
687+ - name : Dependencies
688+ id : depends
689+ continue-on-error : true
690+ run : |
691+ brew update
692+
693+ - name : Build
694+ id : cmake_build
695+ run : |
696+ sysctl -a
697+ cmake -B build -G Xcode \
698+ -DGGML_METAL_USE_BF16=ON \
699+ -DGGML_METAL_EMBED_LIBRARY=ON \
700+ -DLLAMA_BUILD_EXAMPLES=OFF \
701+ -DLLAMA_BUILD_TESTS=OFF \
702+ -DLLAMA_BUILD_SERVER=OFF \
703+ -DCMAKE_SYSTEM_NAME=visionOS \
704+ -DCMAKE_OSX_DEPLOYMENT_TARGET=1.0 \
705+ -DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM=ggml
706+ cmake --build build --config Release -j $(sysctl -n hw.logicalcpu) -- CODE_SIGNING_ALLOWED=NO
707+
708+ - name : xcodebuild for swift package
709+ id : xcodebuild
710+ run : |
711+ xcodebuild -scheme llama-Package -destination 'generic/platform=visionOS'
712+
679713 macOS-latest-swift :
680714 runs-on : macos-latest
681715
You can’t perform that action at this time.
0 commit comments