From dfd0cd0d673d6576dd32f986b7fb4bea09350124 Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Sat, 3 Aug 2024 19:17:00 +0200 Subject: [PATCH] Build for iOS --- .gitea/workflows/build_pc.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitea/workflows/build_pc.yml b/.gitea/workflows/build_pc.yml index 69f5f05..f3c685d 100644 --- a/.gitea/workflows/build_pc.yml +++ b/.gitea/workflows/build_pc.yml @@ -43,3 +43,18 @@ jobs: run: ctest -C ${{env.BUILD_TYPE}} #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 \ No newline at end of file