fix appveyor broken

note that ldc 1.30 + matching dub is the last that
can build libdexed-d. That start failing from 1.31
again.
This commit is contained in:
Basile Burg 2023-02-28 10:55:17 +01:00
parent 468a3a6656
commit 63fff3f001
1 changed files with 2 additions and 2 deletions

View File

@ -19,14 +19,14 @@ branches:
install:
- ps: |
$LDC_URL = "https://github.com/ldc-developers/ldc/releases/download/v1.27.1/ldc2-1.27.1-windows-x64.7z"
$LDC_URL = "https://github.com/ldc-developers/ldc/releases/download/v1.30.0/ldc2-1.30.0-windows-x64.7z"
$LDC_NME = "C:\ldc.7z";
$LAZ_URL = "https://gitlab.com/basile.b/laz-bin-cache.git"
$LAZ_NME = "laz-bin-cache\lazarus-2.2.0-fpc-3.2.2-win64.exe"
(new-object net.webclient).DownloadFile($LDC_URL, $LDC_NME)
7z x $LDC_NME -o"C:\" -y -r
Rename-Item "C:\ldc2-1.27.1-windows-x64" "C:\ldc"
Rename-Item "C:\ldc2-1.30.0-windows-x64" "C:\ldc"
git clone $LAZ_URL --depth=1
Start-Process -FilePath $LAZ_NME -Wait -ArgumentList "/SILENT", "/SUPPRESSMSGBOXES", "/DIR=C:\lazarus"