Some checks failed
Build Potree Converter / Build desktop (ubuntu-act_cpp-24.04) (pull_request) Failing after 16s
Build Potree Converter / Build desktop (mac_arm) (pull_request) Successful in 16s
Build Potree Converter / Build iOS (pull_request) Failing after 15s
Build Potree Converter / Build desktop (windows_x64) (pull_request) Successful in 45s
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
name: "Build Potree Converter"
|
|
|
|
on:
|
|
push:
|
|
branches: [ "develop" ]
|
|
pull_request:
|
|
branches: [ "develop" ]
|
|
|
|
env:
|
|
BUILD_TYPE: Release
|
|
|
|
jobs:
|
|
build:
|
|
name: Build desktop
|
|
runs-on: ${{matrix.os}}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
os: [ windows_x64, ubuntu-act_cpp-24.04, mac_arm ]
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Configure CMake
|
|
shell: bash
|
|
run: |
|
|
cmake -B "${{github.workspace}}/build" -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
|
- name: Build
|
|
shell: bash
|
|
run: cmake --build "${{github.workspace}}/build" --config ${{env.BUILD_TYPE}}
|
|
|
|
build_iOS:
|
|
name: Build iOS
|
|
runs-on: mac_arm
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: Configure CMake
|
|
run: mkdir cmake-build && mkdir cmake-build/iOS && cd cmake-build/iOS && cmake ../.. -G Xcode -DPLATFORM=OS64 -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
|
|
- name: Build & Archive
|
|
run: xcodebuild -project ${{github.workspace}}/cmake-build/iOS/PotreeConverter.xcodeproj derivedDataPath ${{github.workspace}}/cmake-build/iOS/dd -scheme OpenVulkano_Examples -configuration ${{env.BUILD_TYPE}} -archivePath ${{github.workspace}}/cmake-build/iOS/app.xcarchive -sdk iphoneos archive |