CI-windows.yml: fixed building of GUI broken by incorrect matrix checks (#3193)

This commit is contained in:
Oliver Stöneberg 2021-04-03 21:10:59 +02:00 committed by GitHub
parent 9ce0235e8e
commit c45b941717
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -57,13 +57,13 @@ jobs:
# no 32-bit Qt available
- name: Install Qt
if: matrix.os == 'x64'
if: matrix.arch == 'x64'
uses: jurplel/install-qt-action@v2
with:
modules: 'qtcharts'
- name: Build GUI release
if: matrix.os == 'x64'
if: matrix.arch == 'x64'
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" ${{ matrix.arch }} || exit /b !errorlevel!
cd gui || exit /b !errorlevel!
@ -71,7 +71,7 @@ jobs:
nmake release || exit /b !errorlevel!
- name: Deploy GUI
if: matrix.os == 'x64'
if: matrix.arch == 'x64'
run: |
windeployqt Build\gui || exit /b !errorlevel!
del Build\gui\cppcheck-gui.ilk || exit /b !errorlevel!