Build for iOS
This commit is contained in:
@@ -43,3 +43,18 @@ jobs:
|
|||||||
run: ctest -C ${{env.BUILD_TYPE}}
|
run: ctest -C ${{env.BUILD_TYPE}}
|
||||||
|
|
||||||
#TODO archive executables
|
#TODO archive executables
|
||||||
|
|
||||||
|
|
||||||
|
build_iOS:
|
||||||
|
name: Build iOS
|
||||||
|
runs-on: mac_arm
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- name: Configure CMake
|
||||||
|
run: mkdir build && cd build && cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain/ios.toolchain.cmake -DPLATFORM=OS64
|
||||||
|
- name: Build & Archive
|
||||||
|
run: xcodebuild -project ${{github.workspace}}/cmake-build/iOS/MadVoxel_Scan.xcodeproj -scheme MadVoxel_Scan -configuration Release -archivePath ${{github.workspace}}/cmake-build/iOS/app.xcarchive -sdk iphoneos archive
|
||||||
Reference in New Issue
Block a user