Skip to content

Commit

Permalink
switch back to cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
nschimme committed Dec 7, 2024
1 parent 68ab124 commit 4b92f71
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -302,18 +302,18 @@ for:
- ps: |
$env:package_version = ("$(git describe --tags --always --long)").trim()
Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
- ps: |
$MingwPath = "C:\Qt\Tools\mingw1310_64"
if (-Not (Test-Path $MingwPath)) {
Write-Host "Mingw tools not found. Installing..."
pip install --disable-pip-version-check aqtinstall
aqt install-tool windows desktop tools_mingw1310 --outputdir "C:\Qt" 2>&1 | Out-Host
} else {
Write-Host "Mingw tools already cached. Skipping download."
}
- cmd: |
set MINGW_PATH=C:\Qt\Tools\mingw1310_64
if not exist "%MINGW_PATH%" (
echo Mingw tools not found. Installing...
pip install --disable-pip-version-check aqtinstall
python -m aqt install-tool windows desktop tools_mingw1310 --outputdir C:\Qt
) else (
echo Mingw tools already cached. Skipping download.
)
before_build:
- cmd: if %COMPILER%==MinGW if %ARCH%==x64 set PATH=C:/Qt/Tools/mingw1310_64/bin;%PATH%
- cmd: if %COMPILER%==MinGW if %ARCH%==x64 set PATH=%MINGW_PATH%;%PATH%
- cmd: set PATH=%QTDIR%\bin;%PATH%;C:\Qt\Tools\QtCreator\bin
- cmd: if %COMPILER%==MinGW set PATH=%PATH:C:\Program Files\Git\usr\bin;=%
- cmd: echo PATH=%PATH%
Expand Down

0 comments on commit 4b92f71

Please sign in to comment.