Skip to content

Commit 52e3da1

Browse files
committed
Merge branch 'main' of https://github.com/SuperDude88/TWWHD-Randomizer into progressive-magic-always-double
2 parents 41f3e2a + beba6ff commit 52e3da1

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

.github/workflows/build_mac.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
required: false
2727

2828
env:
29-
QT_VERSION: 6.8.1
29+
QT_VERSION: 6.10.1
3030
EXTRA_CMAKE_FLAGS: ""
3131

3232
jobs:
@@ -43,11 +43,11 @@ jobs:
4343
- name: Install Qt
4444
uses: jurplel/install-qt-action@v4
4545
with:
46-
aqtversion: '==3.1.*'
4746
version: '${{ env.QT_VERSION }}'
4847
host: 'mac'
4948
target: 'desktop'
5049
arch: 'clang_64'
50+
cache: true
5151

5252
- name: Set Debug Flags
5353
if: inputs.build_type == 'Debug'

.github/workflows/build_windows.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626
required: false
2727

2828
env:
29-
QT_VERSION: 6.7.1
29+
QT_VERSION: 6.10.1
3030
EXTRA_CMAKE_FLAGS: ""
3131

3232
jobs:
@@ -55,14 +55,8 @@ jobs:
5555
version: ${{ env.QT_VERSION }}
5656
host: 'windows'
5757
target: 'desktop'
58-
arch: 'win64_mingw'
58+
arch: 'win64_msvc2022_64'
5959
cache: true
60-
cache-key-prefix: install-qt-${{ env.QT_VERSION }}-action
61-
62-
- name: Install GCC 11.2.0
63-
uses: egor-tensin/setup-mingw@v2.2.0
64-
with:
65-
version: 11.2.0
6660

6761
- name: Set Debug Flags
6862
if: inputs.build_type == 'Debug'
@@ -76,7 +70,7 @@ jobs:
7670
working-directory: ${{ github.workspace }}
7771
env:
7872
SEED_KEY: ${{ secrets.SEED_KEY }}
79-
run: cmake -G "MinGW Makefiles" -B build -DGITHUB_WORKFLOW=True -DQT_GUI=True -DEMBED_DATA=True "${{ env.EXTRA_CMAKE_FLAGS }}"
73+
run: cmake -B build -DGITHUB_WORKFLOW=True -DQT_GUI=True -DEMBED_DATA=True "${{ env.EXTRA_CMAKE_FLAGS }}"
8074

8175
- name: Build
8276
working-directory: ${{ github.workspace }}
@@ -93,11 +87,8 @@ jobs:
9387
shell: cmd # Setting up environment vars only works properly in cmd?
9488
run: |
9589
mkdir wwhd_rando_windows
96-
cp wwhd_rando.exe wwhd_rando_windows\wwhd_rando.exe
97-
cp ${{ github.workspace }}\..\Qt\${{ env.QT_VERSION }}\mingw_64\bin\libgcc_s_seh-1.dll wwhd_rando_windows\libgcc_s_seh-1.dll
98-
cp ${{ github.workspace }}\..\Qt\${{ env.QT_VERSION }}\mingw_64\bin\libstdc++-6.dll wwhd_rando_windows\libstdc++-6.dll
99-
cp ${{ github.workspace }}\..\Qt\${{ env.QT_VERSION }}\mingw_64\bin\libwinpthread-1.dll wwhd_rando_windows\libwinpthread-1.dll
100-
${{ github.workspace }}\..\Qt\${{ env.QT_VERSION }}\mingw_64\bin\qtenv2.bat && cd ${{ github.workspace }}\build\wwhd_rando_windows && windeployqt wwhd_rando.exe --no-translations --no-system-d3d-compiler --no-opengl-sw
90+
cp ${{ inputs.build_type }}\wwhd_rando.exe wwhd_rando_windows\wwhd_rando.exe
91+
cd ${{ github.workspace }}\build\wwhd_rando_windows && windeployqt wwhd_rando.exe --no-translations --no-system-d3d-compiler --no-opengl-sw
10192
10293
- name: Save Artifact
10394
uses: actions/upload-artifact@v6

0 commit comments

Comments
 (0)