Skip to content

Commit

Permalink
ci : add iOS/tvOS build into macOS-latest-cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Sep 10, 2023
1 parent 7910757 commit 2669beb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,36 @@ jobs:
cd build
ctest --verbose --timeout 900
- name: Build for iOS
id: cmake_build_ios
run: |
sysctl -a
rm -rf build
mkdir build
cd build
cmake -G Xcode .. \
-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
- name: Build for tvOS
id: cmake_build_tvos
run: |
sysctl -a
rm -rf build
mkdir build
cd build
cmake -G Xcode .. \
-DLLAMA_BUILD_EXAMPLES=OFF \
-DLLAMA_BUILD_TESTS=OFF \
-DLLAMA_BUILD_SERVER=OFF \
-DCMAKE_SYSTEM_NAME=tvOS \
-DCMAKE_OSX_DEPLOYMENT_TARGET=14.0
cmake --build . --config Release
windows-latest-cmake:
runs-on: windows-latest

Expand Down

0 comments on commit 2669beb

Please sign in to comment.