Skip to content

Commit 1482a31

Browse files
OmniTroidclaude
andcommitted
CI Windows: use MinGW 13.1 and stage runtime DLLs
- tools_mingw1120 → tools_mingw1310. MinGW 11.2 isn't reliably available via aqt anymore; 13.1 is what install-qt-action ships for Qt 6.5.3 on Windows (confirmed against akashi's working CI config). - Copy libgcc_s_seh-1.dll / libstdc++-6.dll / libwinpthread-1.dll from ${IQTA_TOOLS}/mingw1310_64/bin into ./bin/ after the build. configure.sh runs windeployqt with --no-compiler-runtime (matches the pre-migration flags), so these need to be staged separately for the artifact to run on a machine without MinGW installed. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 0b65c38 commit 1482a31

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,22 @@ jobs:
3636
version: 6.5.3
3737
target: desktop
3838
arch: win64_mingw
39+
tools: 'tools_mingw1310'
3940
cache: true
4041
cache-key-prefix: install-qt-action
4142
modules: 'qtimageformats qtwebsockets qtmultimedia'
42-
tools: 'tools_mingw1120'
4343

4444
- name: Configure and build
4545
shell: bash
4646
run: ./configure.sh QT_PATH="$QT_ROOT_DIR" BUILD_TYPE=Release
4747

48+
- name: Stage MinGW runtime DLLs
49+
shell: pwsh
50+
run: |
51+
Copy-Item "$Env:IQTA_TOOLS\mingw1310_64\bin\libgcc_s_seh-1.dll" bin\
52+
Copy-Item "$Env:IQTA_TOOLS\mingw1310_64\bin\libstdc++-6.dll" bin\
53+
Copy-Item "$Env:IQTA_TOOLS\mingw1310_64\bin\libwinpthread-1.dll" bin\
54+
4855
- name: Upload Artifact
4956
uses: actions/upload-artifact@master
5057
with:

0 commit comments

Comments
 (0)