Skip to content

Commit

Permalink
build: disable ios build
Browse files Browse the repository at this point in the history
  • Loading branch information
Adriankhl committed May 28, 2024
1 parent c62bc67 commit 9d149b3
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -513,38 +513,38 @@ jobs:
name: macos_metal_debug
path: build/libgodot_llm.darwin.debug.universal.dylib

ios-latest-cmake-cpu-release:
runs-on: macos-latest
steps:
- name: Clone
id: checkout
uses: actions/checkout@v4

- name: Clone submodule
id: clone_submodule
run: |
git submodule update --init --recursive
- name: Dependencies
id: depends
run: |
brew update
- name: Build
id: cmake_build
run: |
mkdir build
cd build
cmake .. -G Xcode -DLLAMA_METAL_EMBED_LIBRARY=ON -DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_SERVER=OFF -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0
cmake --build . --config Release -j $(sysctl -n hw.logicalcpu)
codesign -s - libgodot_llm.ios.release.universal.dylib
ls -al
- name: Archive library
uses: actions/upload-artifact@v4
with:
name: macos_cpu_release
path: build/libgodot_llm.ios.release.universal.dylib
# ios-latest-cmake-cpu-release:
# runs-on: macos-latest
# steps:
# - name: Clone
# id: checkout
# uses: actions/checkout@v4

# - name: Clone submodule
# id: clone_submodule
# run: |
# git submodule update --init --recursive

# - name: Dependencies
# id: depends
# run: |
# brew update

# - name: Build
# id: cmake_build
# run: |
# mkdir build
# cd build
# cmake .. -G Xcode -DLLAMA_METAL_EMBED_LIBRARY=ON -DLLAMA_BUILD_EXAMPLES=OFF -DLLAMA_BUILD_TESTS=OFF -DLLAMA_BUILD_SERVER=OFF -DCMAKE_SYSTEM_NAME=iOS -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0
# cmake --build . --config Release -j $(sysctl -n hw.logicalcpu)
# codesign -s - libgodot_llm.ios.release.universal.dylib
# ls -al

# - name: Archive library
# uses: actions/upload-artifact@v4
# with:
# name: macos_cpu_release
# path: build/libgodot_llm.ios.release.universal.dylib

archive-other-files:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9d149b3

Please sign in to comment.