From c2e95f2a36d1f3f2f0309a688d466f0de3b31fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Wed, 11 Sep 2019 11:49:50 +0200 Subject: [PATCH] Find whats in PATH by default --- azure-pipelines-windows-template.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-windows-template.yml b/azure-pipelines-windows-template.yml index ab9bd984..e94b5ffa 100644 --- a/azure-pipelines-windows-template.yml +++ b/azure-pipelines-windows-template.yml @@ -15,6 +15,7 @@ jobs: steps: - template: azure-pipelines-build-number.yml - script: | + echo %PATH% pip install aqtinstall mkdir C:\Qt python -m aqt install -O c:\Qt ${{ parameters.qt_version }} windows desktop ${{ parameters.qt_aqt_spec }} @@ -29,7 +30,7 @@ jobs: set PATH=%PATH%;C:\Qt\Qt${{ parameters.qt_version }}\${{ parameters.qt_version }}\${{ parameters.qt_spec }}\bin dir C:\Qt\Qt${{ parameters.qt_version }}\${{ parameters.qt_version }}\${{ parameters.qt_spec }}\bin set DEFINES_VAR=DEFINES+="BUILD_NUMBER=\\\\\\\"$(Build.BuildNumber)\\\\\\\"" - qmake -spec ${{ parameters.qt_spec }} CONFIG+="7zip" %DEFINES_VAR% + qmake CONFIG+="7zip" %DEFINES_VAR% nmake displayName: 'Build' - script: |