CI: set up MSVC environment before running CMake

This commit is contained in:
Frederik Seiffert 2023-09-11 20:25:27 +02:00
parent 1e3cb7776d
commit 0d0666f728

View File

@ -54,6 +54,9 @@ jobs:
with:
version: ${{ matrix.qt_version }}
- name: Setup MSVC environment for QMake
uses: ilammy/msvc-dev-cmd@v1
- name: Build library with CMake
run: |
cmake . ${{ matrix.additional_arguments }}
@ -83,9 +86,6 @@ jobs:
cmake . ${{ matrix.additional_arguments }}
cmake --build .
- name: Setup MSVC environment for QMake
uses: ilammy/msvc-dev-cmd@v1
- name: Build basic example with QMake
working-directory: examples/basic/
run: |