Use of std::format in Progress #1652
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: iOS | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '.github/workflows/**' | |
jobs: | |
build_cmake: | |
name: cmake | |
runs-on: macos-14 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install build tool | |
run: brew install cmake ninja | |
- name: Install dependencies | |
run: brew install openjdk | |
- name: Activate XCode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: latest-stable | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
version: '5.15.2' | |
host: 'mac' | |
target: 'ios' | |
arch: 'ios' | |
install-deps: 'true' | |
cache: true | |
cache-key-prefix: ${{ runner.os }} | |
- name: Dump Qt installation data | |
run: echo ${Qt5_DIR} | |
- name: List Qt installation | |
run: ls -l ../Qt/5.15.2/ios/ | |
- name: List Qt installation | |
run: ls -l ../Qt/5.15.2/ios/lib/cmake/Qt5 | |
- name: Configure build project | |
run: "cmake -B build | |
-DCMAKE_SYSTEM_NAME=iOS | |
-DCMAKE_OSX_ARCHITECTURES=arm64 | |
-DCMAKE_OSX_DEPLOYMENT_TARGET=13 | |
-DOSMSCOUT_BUILD_IMPORT=OFF | |
-DOSMSCOUT_BUILD_GPX=ON | |
-DOSMSCOUT_BUILD_DEMOS=OFF | |
-DOSMSCOUT_BUILD_TOOL_DUMPDATA=OFF | |
-DOSMSCOUT_BUILD_DOC_API=OFF | |
-DOSMSCOUT_BUILD_WEBPAGE=OFF | |
-DOSMSCOUT_BUILD_TESTS=OFF | |
-DQt5_DIR=${Qt5_DIR}/lib/cmake/Qt5 | |
-DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON | |
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ON | |
-DCMAKE_UNITY_BUILD=ON | |
-Wno-dev" | |
- name: Build project | |
run: cmake --build build |