This repository was archived by the owner on Oct 28, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed
Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -31,14 +31,27 @@ configuration:
3131 - RelWithDebInfo
3232environment :
3333 TESTS : On
34- cache : build/evmjit/llvm
34+ clone_script :
35+ # We have to overwrite the clone script to update submodules before
36+ # the cache invalidation check.
37+ - ps : |
38+ if(-not $env:appveyor_pull_request_number) {
39+ git clone -q --depth 1 --branch=$env:appveyor_repo_branch https://github.com/$env:appveyor_repo_name.git $env:appveyor_build_folder
40+ git checkout -qf $env:appveyor_repo_commit
41+ git submodule -q update --init --recursive
42+ } else {
43+ git clone -q --depth 1 https://github.com/$env:appveyor_repo_name.git $env:appveyor_build_folder
44+ git fetch -q origin +refs/pull/$env:appveyor_pull_request_number/merge:
45+ git checkout -qf FETCH_HEAD
46+ git submodule -q update --init --recursive
47+ }
48+ cache : build/evmjit/llvm -> evmjit/cmake/llvm.cmake
3549# RDP LOGIN details for trouble shooting
3650# init:
3751# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
3852# on_finish:
3953# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
4054install :
41- - git submodule update --init --recursive
4255 - scripts/install_deps.bat
4356 - set ETHEREUM_DEPS_PATH=%APPVEYOR_BUILD_FOLDER%\deps\install
4457before_build :
You can’t perform that action at this time.
0 commit comments