File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 5555 version : ${{ env.QT_VERSION }}
5656 host : ' windows'
5757 target : ' desktop'
58- arch : ' win64_msvc2022_64 '
58+ arch : ' win64_mingw '
5959 cache : true
6060
6161 - name : Set Debug Flags
7070 working-directory : ${{ github.workspace }}
7171 env :
7272 SEED_KEY : ${{ secrets.SEED_KEY }}
73- run : cmake -B build -DGITHUB_WORKFLOW=True -DQT_GUI=True -DEMBED_DATA=True "${{ env.EXTRA_CMAKE_FLAGS }}"
73+ run : cmake -G "MinGW Makefiles" - B build -DGITHUB_WORKFLOW=True -DQT_GUI=True -DEMBED_DATA=True "${{ env.EXTRA_CMAKE_FLAGS }}"
7474
7575 - name : Build
7676 working-directory : ${{ github.workspace }}
8787 shell : cmd # Setting up environment vars only works properly in cmd?
8888 run : |
8989 mkdir wwhd_rando_windows
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
90+ cp wwhd_rando.exe wwhd_rando_windows\wwhd_rando.exe
91+ cp ${{ github.workspace }}\..\Qt\${{ env.QT_VERSION }}\mingw_64\bin\libgcc_s_seh-1.dll wwhd_rando_windows\libgcc_s_seh-1.dll
92+ cp ${{ github.workspace }}\..\Qt\${{ env.QT_VERSION }}\mingw_64\bin\libstdc++-6.dll wwhd_rando_windows\libstdc++-6.dll
93+ cp ${{ github.workspace }}\..\Qt\${{ env.QT_VERSION }}\mingw_64\bin\libwinpthread-1.dll wwhd_rando_windows\libwinpthread-1.dll
94+ ${{ 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
9295
9396 - name : Save Artifact
9497 uses : actions/upload-artifact@v6
You can’t perform that action at this time.
0 commit comments