From 0d0666f72845791ff32e3ddb06af2ce7a99cc1a5 Mon Sep 17 00:00:00 2001 From: Frederik Seiffert Date: Mon, 11 Sep 2023 20:25:27 +0200 Subject: [PATCH] CI: set up MSVC environment before running CMake --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ebefd1d..0713a02 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: |