Update windows.yml

This commit is contained in:
Alexander Klingenbeck 2023-05-23 22:17:41 +02:00 committed by GitHub
parent c65a0a634b
commit d6bce9ad1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -21,6 +21,9 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install MinGW
uses: egor-tensin/setup-mingw@v2.2.0
- 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.
@ -29,7 +32,7 @@ jobs:
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} -G "MinGW Makefiles"
- name: Upload Artifacts
uses: actions/upload-artifact@v3