Skip to content

Commit

Permalink
Next round
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Kebekus committed Dec 7, 2023
1 parent 7ba5432 commit 1822638
Show file tree
Hide file tree
Showing 6 changed files with 94 additions and 6 deletions.
31 changes: 29 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,42 @@ jobs:
- name: Set QT_HOST_PATH
run: |
echo QT_HOST_PATH=$Qt6_DIR >> $GITHUB_ENV
- name: Install Qt for Android
- name: Install Qt for Android arm64
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
cache-key-prefix: 'install-qt-action-android'
modules: 'qtlocation qtpositioning'
target: 'android'
version: '6.*.*'
arch: 'android_arm64_v8a;android_armv7;android_x86;android_x86_64'
arch: 'android_arm64_v8a'
- name: Install Qt for Android armv7
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
cache-key-prefix: 'install-qt-action-android'
modules: 'qtlocation qtpositioning'
target: 'android'
version: '6.*.*'
arch: 'android_armv7'
- name: Install Qt for Android x86
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
cache-key-prefix: 'install-qt-action-android'
modules: 'qtlocation qtpositioning'
target: 'android'
version: '6.*.*'
arch: 'android_x86'
- name: Install Qt for Android x86_64
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
cache-key-prefix: 'install-qt-action-android'
modules: 'qtlocation qtpositioning'
target: 'android'
version: '6.*.*'
arch: 'android_x86_64'
- name: Install Additional Software
run: |
sudo apt install ninja-build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Compile on Linux
name: Compile on macOS

on:
push:
Expand All @@ -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:
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/windows.yml
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 }}
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
url = https://github.com/madler/zlib.git
[submodule "bzip2"]
path = bzip2
url = https://gitlab.com/bzip2/bzip2.git
url = https://github.com/libarchive/bzip2.git
21 changes: 21 additions & 0 deletions buildscript-windows.bat
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
2 changes: 1 addition & 1 deletion bzip2
Submodule bzip2 updated 82 files
+78 −0 .appveyor.yml
+16 −1 .gitattributes
+28 −8 .gitignore
+97 −0 .gitlab-ci.yml
+19 −0 AUTHORS
+401 −0 CMakeLists.txt
+22 −0 CMakeOptions.txt
+191 −0 COMPILING.md
+7 −7 COPYING
+0 −217 Makefile
+0 −59 Makefile-libbz2_so
+314 −202 NEWS.md
+0 −196 README
+0 −58 README.COMPILATION.PROBLEMS
+5 −5 README.XML.STUFF
+120 −0 README.md
+69 −69 blocksort.c
+1 −0 bz_version.h.in
+3 −3 bzgrep
+214 −221 bzip2.c
+28 −0 bzip2.doap
+11 −0 bzip2.pc.in
+3 −4 bzip2.txt
+56 −28 bzip2recover.c
+129 −121 bzlib.c
+90 −85 bzlib.h
+14 −16 bzlib_private.h
+18 −0 cmake/ExtractValidFlags.cmake
+40 −0 cmake/FindCUnit.cmake
+26 −0 cmake/SymLink.cmake
+11 −0 cmake/Version.cmake
+74 −0 code-of-conduct.md
+49 −50 compress.c
+3 −3 crctable.c
+26 −26 decompress.c
+21 −0 docs/CMakeLists.txt
+14 −0 docs/RELEASING.md
+0 −0 docs/bz-common.xsl
+0 −0 docs/bz-fo.xsl
+0 −0 docs/bz-html.xsl
+2 −2 docs/bzip.css
+9 −0 docs/entities.xml
+5 −5 docs/format.pl
+52 −36 docs/manual.xml
+17 −0 docs/meson.build
+6 −6 docs/xmlproc.sh
+0 −10 entities.xml
+7 −7 huffman.c
+41 −0 install_links.py
+1 −2 libbz2.def
+47 −28 makefile.msc
+8 −0 man/CMakeLists.txt
+0 −0 man/bzdiff.1
+8 −8 man/bzgrep.1
+94 −73 man/bzip2.1
+5 −5 man/bzip2.1.preformatted
+0 −0 man/bzmore.1
+19 −0 man/meson.build
+177 −0 meson.build
+5 −0 meson_options.txt
+3 −3 mk251.c
+7 −0 patches-not-included.txt
+0 −82 prepare-release.sh
+55 −55 randtable.c
+0 −90 release-update.sh
+5 −5 spewG.c
+45 −0 tests/CMakeLists.txt
+23 −0 tests/meson.build
+159 −0 tests/runtest.py
+ tests/sample1.bz2
+ tests/sample1.ref
+ tests/sample2.bz2
+ tests/sample2.ref
+ tests/sample3.bz2
+0 −0 tests/sample3.ref
+0 −0 tests/words0
+0 −0 tests/words1
+0 −0 tests/words2
+0 −0 tests/words3
+8 −8 unzcrash.c
+48 −0 version.rc
+54 −0 version.rc.in

0 comments on commit 1822638

Please sign in to comment.