Skip to content

Commit

Permalink
IOS: Fix Build
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Jan 16, 2025
1 parent 18e82dc commit 6cfd75f
Show file tree
Hide file tree
Showing 6 changed files with 96 additions and 771 deletions.
31 changes: 25 additions & 6 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,26 @@
name: iOS

on:
workflow_dispatch:
push:
branches:
- master
- 'Stable*'
tags:
- 'v*'
paths-ignore:
- 'android/**'
- 'deploy/**'
- 'docs/**'
pull_request:
paths-ignore:
- 'android/**'
- 'deploy/**'
- 'docs/**'
- '.github/workflows/android-*.yml'
- '.github/workflows/docs_deploy.yml'
- '.github/workflows/*linux.yml'
- '.github/workflows/macos.yml'
- '.github/workflows/windows.yml'

jobs:
build:
Expand All @@ -28,10 +47,7 @@ jobs:
brew uninstall google-chrome
sudo rm -rf /Users/runner/Library/Android
sudo rm -rf /Applications/Xcode_14*
sudo rm -rf /Applications/Xcode_15.0*
sudo rm -rf /Applications/Xcode_15.1*
sudo rm -rf /Applications/Xcode_15.2*
sudo rm -rf /Applications/Xcode_15.3*
sudo rm -rf /Applications/Xcode_15*
ls /Applications
df -h
Expand Down Expand Up @@ -84,7 +100,6 @@ jobs:
aqtversion: ==3.1.*
host: mac
target: ios
arch: ios
dir: ${{ runner.temp }}
extra: --autodesktop
modules: qtcharts qtlocation qtpositioning qtspeech qt5compat qtmultimedia qtimageformats qtshadertools qtconnectivity qtquick3d qtsensors
Expand All @@ -96,8 +111,12 @@ jobs:
working-directory: ${{ runner.temp }}/shadow_build_dir
run: ${{ env.QT_ROOT_DIR }}/bin/qt-cmake -S ${{ github.workspace }} -B . -G Ninja
-DCMAKE_BUILD_TYPE=${{ matrix.BuildType }}
-DQT_DEBUG_FIND_PACKAGE=ON
-DCMAKE_OSX_ARCHITECTURES="arm64"
-DQT_HOST_PATH="${{ env.QT_ROOT_DIR }}/../macos"
-DQGC_STABLE_BUILD=${{ github.ref_type == 'tag' || contains(github.ref, 'Stable') && 'ON' || 'OFF' }}
-DCMAKE_FIND_ROOT_PATH="/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/"
-DQGC_ENABLE_GST_VIDEOSTREAMING=OFF

- name: Build
working-directory: ${{ runner.temp }}/shadow_build_dir
Expand Down
Loading

0 comments on commit 6cfd75f

Please sign in to comment.