-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
187 additions
and
57 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: Compile on iOS | ||
|
||
on: | ||
push: | ||
branches: [ feature/cleanup ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout Enroute | ||
uses: actions/checkout@v4 | ||
with: | ||
path: enroute | ||
submodules: recursive | ||
- name: Checkout Enroute Dependencies | ||
uses: actions/checkout@v4 | ||
with: | ||
path: enrouteDependencies | ||
repository: Akaflieg-Freiburg/enrouteDependencies | ||
submodules: recursive | ||
- name: Set up macOS | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.8' | ||
- name: Install Ninja | ||
run: brew install ninja | ||
- name: Install Qt for Desktop | ||
uses: jurplel/install-qt-action@v3 | ||
with: | ||
cache: 'true' | ||
cache-key-prefix: 'install-qt-action-macOS-host' | ||
version: '6.6.*' | ||
modules: 'qt5compat qthttpserver qtimageformats qtlocation qtmultimedia qtpositioning qtshadertools qtspeech qtwebsockets qtwebview' | ||
- name: Set QT_HOST_PATH | ||
run: | | ||
echo QT_HOST_PATH=$Qt6_DIR >> $GITHUB_ENV | ||
- name: Install Qt for iOS | ||
uses: jurplel/install-qt-action@v3 | ||
with: | ||
cache: 'true' | ||
cache-key-prefix: 'install-qt-action-iOS' | ||
target: 'ios' | ||
version: '6.6.*' | ||
modules: 'qt5compat qthttpserver qtimageformats qtlocation qtmultimedia qtpositioning qtshadertools qtsensors qtspeech qtwebsockets qtwebview' | ||
- name: ccache | ||
uses: hendrikmuhs/ccache-action@v1.2 | ||
with: | ||
key: macos | ||
- name: Compile EnrouteDependencies | ||
run: | | ||
Qt6_DIR_BASE=$(dirname "$Qt6_DIR") ./buildscript-ios.sh | ||
cp -prv Qt/* $Qt6_DIR/../.. | ||
working-directory: enrouteDependencies | ||
- name: Compile Enroute Flight Navigation | ||
run: | | ||
$Qt6_DIR/bin/qt-cmake \ | ||
-B build-enroute \ | ||
-S enroute \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_C_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_INSTALL_PREFIX=. \ | ||
-- -sdk iphonesimulator | ||
cmake --build build-enroute | ||
- name: Package | ||
run: | | ||
brew install create-dmg | ||
create-dmg enroute-iphonesimulator.dmg build-enroute/src/Debug-iphonesimulator | ||
- name: Upload to developerBuilds | ||
run: | | ||
gh release upload --clobber developerBuilds ../enroute-iphonesimulator.dmg | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
working-directory: enroute |
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
Submodule enrouteManual
updated
69 files
Submodule enrouteText
updated
5 files
+6 −6 | assets/enroute_de.ts | |
+4 −4 | assets/enroute_es.ts | |
+21 −21 | assets/enroute_fr.ts | |
+23 −23 | assets/enroute_it.ts | |
+10 −10 | assets/enroute_pl.ts |
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
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
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
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
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
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