Skip to content

feat(FlyView): add altitude support for Click to ROI #1668

feat(FlyView): add altitude support for Click to ROI

feat(FlyView): add altitude support for Click to ROI #1668

Workflow file for this run

name: iOS
on:
push:
branches:
- master
- 'Stable*'
tags:
- 'v*'
paths-ignore:
- 'docs/**'
pull_request:
merge_group:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
permissions:
contents: read
actions: read
jobs:
changes:
uses: ./.github/workflows/_detect-changes.yml
with:
platform: ios
build:
needs: changes
if: needs.changes.outputs.should_build == 'true'
runs-on: macos-15
timeout-minutes: 120
# id-token/attestations scoped here: only the attestation upload step needs them.
permissions:
contents: read
actions: read
id-token: write
attestations: write
strategy:
matrix:
build_type: [Release]
defaults:
run:
shell: bash
env:
PACKAGE: QGroundControl
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit
- name: Checkout repo
uses: actions/checkout@v7
with:
fetch-depth: ${{ github.event_name == 'pull_request' && 1 || 0 }}
persist-credentials: false
- name: Build Setup (iOS)
id: setup
uses: ./.github/actions/build-setup
with:
mode: ios
build-type: ${{ matrix.build_type }}
cpm-modules: ${{ runner.temp }}/build/cpm_modules
- name: Configure
uses: ./.github/actions/cmake-configure
with:
build-dir: ${{ runner.temp }}/build
build-type: ${{ matrix.build_type }}
# Qt6LinguistTools cmake config ships with the desktop qtbase install (host),
# not iOS qtbase; point CMake at the host copy directly.
# CMAKE_OSX_ARCHITECTURES matches the iOS preset and opts out of the
# macOS universal-build default in the top-level CMakeLists.
extra-args: >-
-DQT_HOST_PATH=${{ env.QT_ROOT_DIR }}/../macos
-DQt6LinguistTools_DIR=${{ env.QT_ROOT_DIR }}/../macos/lib/cmake/Qt6LinguistTools
-DCMAKE_OSX_ARCHITECTURES=arm64
- name: Build
uses: ./.github/actions/cmake-build
with:
build-dir: ${{ runner.temp }}/build
build-type: ${{ matrix.build_type }}
- name: Attest and Upload
if: matrix.build_type == 'Release'
uses: ./.github/actions/attest-and-upload
with:
artifact-name: ${{ env.PACKAGE }}.app
# iOS uses Ninja Multi-Config; the .app lands in build/<config>/, not build/.
artifact-source-path: ${{ runner.temp }}/build/${{ matrix.build_type }}/${{ env.PACKAGE }}.app
package-name: ${{ env.PACKAGE }}
upload-aws: 'false'