Skip to content

Commit 9f42e5a

Browse files
committed
Adapt build script to current GitHub state and aqtinstall bugs
1 parent 33762f4 commit 9f42e5a

File tree

4 files changed

+32
-21
lines changed

4 files changed

+32
-21
lines changed

.github/workflows/build_cmake.yml

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,14 @@ jobs:
5656

5757
- name: "Windows ARM 64bit"
5858
artifact: "Windows-ARM64"
59-
runs-on: windows-2022
59+
runs-on: windows-11-arm
6060
os: windows
61-
qt_host: 'windows'
62-
qt_host_arch: 'win64_msvc2022_64'
61+
qt_host: 'windows_arm64'
6362
qt_version: '6.10.1'
64-
qt_arch: 'win64_msvc2022_arm64_cross_compiled'
63+
qt_arch: 'win64_msvc2022_arm64'
6564
qt_dir: "msvc2022_arm64"
6665
environment_script: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvarsamd64_arm64.bat"
67-
cmake_extra_config: '-DCMAKE_TOOLCHAIN_FILE=%Qt6_DIR%/lib/cmake/Qt6/qt.toolchain.cmake -DQT_HOST_PATH=%Qt6_DIR%/../msvc2022_64'
66+
cmake_extra_config: '-DSENTRY=ON'
6867

6968
- name: "Ubuntu 24.04"
7069
artifact: "Ubuntu-24.04"
@@ -108,32 +107,41 @@ jobs:
108107
runs-on: ubuntu-22.04
109108
os: linux
110109
flatpak: true
111-
qt_tools: tools_opensslv3_src
112110
qt_host: 'linux'
113111
qt_version: '6.10.1'
114112
qt_arch: 'linux_gcc_64'
115113
qt_dir: 'gcc_64'
116114

115+
# - name: "Linux Flatpak ARM64"
116+
# artifact: "Linux-Flatpak-ARM64"
117+
# runs-on: ubuntu-22.04-arm
118+
# os: linux
119+
# flatpak: true
120+
# qt_host: 'linux_arm64'
121+
# qt_version: '6.10.1'
122+
# qt_arch: 'linux_gcc_arm64'
123+
# qt_dir: 'gcc_arm64'
124+
117125
- name: "macOS Universal"
118126
artifact: "macOS"
119-
runs-on: macos-13
127+
runs-on: macos-15
120128
os: macos
121129
qt_host: 'mac'
122130
qt_version: '6.10.1'
123131
qt_arch: 'clang_64'
124132
qt_dir: 'macos'
125133
cmake_extra_config: '-DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DSENTRY=ON'
126-
xcode: '15.1' # https://developer.apple.com/forums/thread/740889
127134

128135
- name: "macOS 10 Legacy"
129136
artifact: "macOS-10-Legacy"
130-
runs-on: macos-13
137+
runs-on: macos-15-intel
131138
os: macos
132139
qt_host: 'mac'
133140
qt_version: '6.4.3'
134141
qt_arch: 'clang_64'
135142
qt_dir: 'macos'
136143
cmake_extra_config: '-DCMAKE_OSX_ARCHITECTURES="x86_64"'
144+
xcode: '16.2'
137145

138146
- name: "Android"
139147
artifact: "Android"
@@ -159,7 +167,6 @@ jobs:
159167
qt_version: '6.10.1'
160168
qt_arch: 'ios'
161169
cmake_extra_config: ''
162-
xcode: '16.4'
163170

164171
# BUILD
165172
#################################################
@@ -182,22 +189,21 @@ jobs:
182189
uses: actions/cache/restore@v4
183190
with:
184191
path: "${{ runner.workspace }}/Qt/"
185-
key: "Qt-${{ matrix.config.qt_version }}-${{ matrix.config.qt_host }}-${{ matrix.config.qt_arch }}"
192+
key: "Qt-${{ matrix.config.qt_version }}-${{ matrix.config.qt_host }}-${{ matrix.config.qt_arch }}-1"
186193

187194
- name: "Fix Python version"
188-
if: matrix.config.appimage
189-
uses: actions/setup-python@v5
195+
uses: actions/setup-python@v6
190196
with:
191-
python-version: '3.12'
197+
python-version: '3.13'
192198

193199
- name: Install Qt via aqtinstall
194200
if: |
195201
((matrix.config.os != 'linux') || matrix.config.appimage || matrix.config.snap || matrix.config.flatpak)
196202
&& (steps.restore-cache-qt.outputs.cache-hit != 'true')
197203
shell: sh
198204
run: |
199-
pipx install aqtinstall
200-
# python3 -m pip install git+https://github.com/miurahr/aqtinstall@master
205+
# pipx install aqtinstall
206+
pipx install git+https://github.com/miurahr/aqtinstall@c84e1470349e5bedbeee977bd62ec495d50d65b6
201207
if [ "${{ matrix.config.qt_host_arch }}" != "" ]; then
202208
aqt -c .github/aqt-settings.ini install-qt -O "${{ runner.workspace }}/Qt/" \
203209
${{ matrix.config.qt_host }} desktop \
@@ -351,8 +357,8 @@ jobs:
351357
env DESTDIR=build/BrickStore-Install cmake --install build --config RelWithDebInfo --prefix /usr
352358
shell: bash
353359

354-
- name: OpenSSLv3 for Linux (AppImage / Snap / Flatpak)
355-
if: matrix.config.appimage || matrix.config.snap || matrix.config.flatpak
360+
- name: OpenSSLv3 for Linux (AppImage / Snap)
361+
if: matrix.config.appimage || matrix.config.snap
356362
run: |
357363
cd ${Qt6_DIR}/../../Tools/OpenSSLv3/src
358364
./Configure --prefix=/usr --libdir=lib --openssldir=/etc/ssl '-Wl,-rpath,\$$ORIGIN,--enable-new-dtags'
@@ -583,7 +589,7 @@ jobs:
583589
run: |
584590
brew install getsentry/tools/sentry-cli
585591
brew link getsentry/tools/sentry-cli
586-
/usr/local/bin/sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} upload-dif \
592+
sentry-cli --auth-token ${{ secrets.SENTRY_AUTH_TOKEN }} upload-dif \
587593
--org brickstore --project brickstore build/BrickStore.app.dSYM ${Qt6_DIR}/lib/
588594
589595
# Build for iOS

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ All notable changes to this project will be documented in this file.
33

44
## [Unreleased]
55

6+
## [2026.1.1] - 2026-01-01
7+
8+
Finally found a fixed the bug that made the order download hang for some people.
9+
10+
611
## [2025.11.1] - 2025-11-03
712

813
A few small fixes:

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ if (MSVC)
105105
# need to disable C4702 due to 6.4.0 QAnyStringView
106106
list(APPEND copts /W4 /WX /wd4127 /wd4702)
107107
elseif (CLANG)
108-
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 17.0)
108+
if (NOT APPLE AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 17.0)
109109
list(APPEND cxxopts -fcoroutines-ts)
110110
endif()
111111
list(APPEND cxxopts -stdlib=libc++)

VERSION_NUMBER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025.11.1
1+
2026.1.1

0 commit comments

Comments
 (0)