Update build-windows.yml

This commit is contained in:
oxmc
2024-03-12 23:10:06 -07:00
committed by GitHub
parent 62bc65b396
commit ab7fdf9833

View File

@@ -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