From ab7fdf983398b630a61e2ed4134d0173014e452e Mon Sep 17 00:00:00 2001 From: oxmc <67136658+oxmc@users.noreply.github.com> Date: Tue, 12 Mar 2024 23:10:06 -0700 Subject: [PATCH] Update build-windows.yml --- .github/workflows/build-windows.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 414530b..9da1d88 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -24,18 +24,17 @@ jobs: - name: Install Qt uses: jurplel/install-qt-action@v3 - - - name: Fix zconf - run: | - move dependencies\zlib-1.2.13\zconf.h.in dependencies\zlib-1.2.13\zconf.h + with: + aqtversion: '==3.1.*' + version: '5.14.2' + host: 'windows' + target: 'desktop' + arch: 'win32_mingw73' - name: Configure CMake - # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. - # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type - run: cmake -B ${{github.workspace}}\build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + run: cmake -B ${{github.workspace}}\build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ - name: Build - # Build your program with the given configuration run: cmake --build ${{github.workspace}}\build --config ${{env.BUILD_TYPE}} - uses: actions/upload-artifact@v4