diff --git a/.appveyor.yml b/.appveyor.yml index ab9b53362..09ae15d3b 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -35,29 +35,26 @@ install: ############################################################################ # Install a recent CMake ############################################################################ - - set CMAKE_VERSION=3.16.4 - - set CMAKE_URL=https://github.com/Kitware/CMake/releases/download/v%CMAKE_VERSION%/cmake-%CMAKE_VERSION%-win64-x64.zip + - set CMAKE_URL=https://github.com/Kitware/CMake/releases/download/v3.16.4/cmake-3.16.4-win64-x64.zip - if not exist cmake.zip appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip - if not exist cmake 7z x cmake.zip -oC:\projects\deps\cmake > nul ############################################################################ # Install custom LLVM ############################################################################ - - set LLVM_VERSION=10.0.1 - - set LLVM_URL=https://axiodl.com/files/LLVM-%LLVM_VERSION%-win64.exe - - set LLVM_ROOT_DIR=C:\projects\deps\llvm-%LLVM_VERSION% - - if not exist "LLVM-%LLVM_VERSION%-win64.exe" appveyor DownloadFile %LLVM_URL% -FileName "LLVM-%LLVM_VERSION%-win64.exe" - - if not exist "llvm-%LLVM_VERSION%" "LLVM-%LLVM_VERSION%-win64.exe" /S "/D=%LLVM_ROOT_DIR%" + - set LLVM_URL=https://axiodl.com/files/LLVM-10.0.1-win64.exe + - if not exist LLVM-10.0.1-win64.exe appveyor DownloadFile %LLVM_URL% -FileName LLVM-10.0.1-win64.exe + - if not exist llvm-10.0.1 LLVM-10.0.1-win64.exe /S /D=C:\projects\deps\llvm-10.0.1 before_build: # Configure ninja - set PATH=C:\projects\deps\ninja;%PATH% - ninja --version # Configure cmake - - set PATH=C:\projects\deps\cmake\cmake-%CMAKE_VERSION%-win64-x64\bin;%PATH% + - set PATH=C:\projects\deps\cmake\cmake-3.16.4-win64-x64\bin;%PATH% - cmake --version # Configure LLVM - - set PATH=%LLVM_ROOT_DIR%\bin;%PATH% + - set PATH=C:\projects\deps\llvm-10.0.1\bin;%PATH% - llvm-config --version - clang-cl -v # Configure VS @@ -69,7 +66,7 @@ before_build: build_script: - mkdir build - cd build - - cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DLLVM_ROOT_DIR=%LLVM_ROOT_DIR% -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_LINKER=lld-link -DCMAKE_AR=llvm-ar -DCMAKE_RANLIB=llvm-ranlib -GNinja .. + - cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DLLVM_ROOT_DIR=C:\projects\deps\llvm-10.0.1 -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_LINKER=lld-link -DCMAKE_AR=llvm-ar -DCMAKE_RANLIB=llvm-ranlib -GNinja .. - ninja urde #notifications: @@ -85,4 +82,4 @@ build_script: # Uncomment this to debug AppVeyor failures. #on_finish: -# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) +# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) \ No newline at end of file