-
Notifications
You must be signed in to change notification settings - Fork 0
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
Stefan Kebekus
committed
Dec 7, 2023
1 parent
7ba5432
commit 1822638
Showing
6 changed files
with
94 additions
and
6 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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Compile on Linux | ||
name: Compile on macOS | ||
|
||
on: | ||
push: | ||
|
@@ -22,7 +22,7 @@ jobs: | |
version: '6.*.*' | ||
- name: Install Additional Software | ||
run: | | ||
sudo apt install ninja-build | ||
brew install ninja | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
|
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,40 @@ | ||
name: Compile on Windows | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: Install Qt | ||
uses: jurplel/install-qt-action@v3 | ||
with: | ||
cache: 'true' | ||
modules: 'qtlocation qtpositioning' | ||
version: '6.*.*' | ||
- name: Install Additional Software | ||
run: | | ||
sudo apt install ninja-build | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: linux | ||
- name: Compile and Install | ||
run: | | ||
Qt6_DIR_BASE=$(dirname "$Qt6_DIR") ./buildscript-windows.bat | ||
- name: Package | ||
run: | | ||
powershell Compress-Archive Qt enrouteDependencies_windows64.zip | ||
- name: Upload to developerBuilds | ||
run: | | ||
gh release upload --clobber developerBuilds enrouteDependencies_windows64.zip | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
# Fail on first error | ||
set -e | ||
|
||
installDir=Qt/$(basename "$Qt6_DIR_BASE")/msvc2019_64 | ||
|
||
echo | ||
echo "Windows Desktop" | ||
|
||
$Qt6_DIR_BASE/msvc2019_64/bin/qt-cmake \ | ||
-S maplibre-native-qt \ | ||
-B build-maplibre-native-qt-windows \ | ||
-G Ninja \ | ||
-DBUILD_TESTING=OFF \ | ||
-DCMAKE_C_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER="ccache" \ | ||
-DCMAKE_PREFIX_PATH=$Qt6_DIR_BASE/msvc2019_64 \ | ||
-DCMAKE_INSTALL_PREFIX=$installDir | ||
cmake --build build-maplibre-native-qt-windows | ||
cmake --install build-maplibre-native-qt-windows |
Submodule bzip2
updated
82 files