Skip to content

Commit a2f9b8c

Browse files
committed
AppVeyor: Switch back to LLVM 5.0.1 for the x86 job
1 parent f1712b2 commit a2f9b8c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

appveyor.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ environment:
1717
DUB_VERSION: v1.7.2
1818
- APPVEYOR_JOB_ARCH: x86
1919
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
20-
LLVM_VERSION: 6.0.0
20+
LLVM_VERSION: 5.0.1
2121
HOST_LDC_VERSION: 1.8.0
2222
DUB_VERSION: v1.7.2
2323

@@ -88,7 +88,11 @@ install:
8888
echo 'Using LLVM with enabled assertions'
8989
$assertsSuffix = '-withAsserts'
9090
}
91-
appveyor DownloadFile "https://github.com/ldc-developers/llvm/releases/download/CI/llvm-$Env:LLVM_VERSION-windows-$Env:APPVEYOR_JOB_ARCH$assertsSuffix.7z" -FileName llvm.7z
91+
If ($Env:LLVM_VERSION -eq '6.0.0') {
92+
appveyor DownloadFile "https://github.com/ldc-developers/llvm/releases/download/CI/llvm-$Env:LLVM_VERSION-windows-$Env:APPVEYOR_JOB_ARCH$assertsSuffix.7z" -FileName llvm.7z
93+
} Else {
94+
appveyor DownloadFile "https://github.com/ldc-developers/llvm/releases/download/ldc-v$Env:LLVM_VERSION/llvm-$Env:LLVM_VERSION-windows-$Env:APPVEYOR_JOB_ARCH$assertsSuffix.7z" -FileName llvm.7z
95+
}
9296
- md llvm
9397
- cd llvm
9498
- 7z x ..\llvm.7z > nul

0 commit comments

Comments
 (0)