diff --git a/appveyor.yml b/appveyor.yml index 97aafe35..29ad77d2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,11 +15,18 @@ cache: - 'graalvm -> appveyor.yml' clone_script: - - cmd: >- - git clone -q --branch=%APPVEYOR_REPO_BRANCH% https://github.com/%APPVEYOR_REPO_NAME%.git %APPVEYOR_BUILD_FOLDER% - && cd %APPVEYOR_BUILD_FOLDER% - && git checkout -qf %APPVEYOR_REPO_COMMIT% - && git submodule update --init --recursive +- ps: >- + if(-not $env:APPVEYOR_PULL_REQUEST_NUMBER) { + git clone -q --branch=$env:APPVEYOR_REPO_BRANCH https://github.com/$env:APPVEYOR_REPO_NAME.git $env:APPVEYOR_BUILD_FOLDER + cd $env:APPVEYOR_BUILD_FOLDER + git checkout -qf $env:APPVEYOR_REPO_COMMIT + } else { + git clone -q https://github.com/$env:APPVEYOR_REPO_NAME.git $env:APPVEYOR_BUILD_FOLDER + cd $env:APPVEYOR_BUILD_FOLDER + git fetch -q origin +refs/pull/$env:APPVEYOR_PULL_REQUEST_NUMBER/merge: + git checkout -qf FETCH_HEAD + } +- cmd: git submodule update --init --recursive build_script: - cmd: >- diff --git a/sci b/sci index 33bc0b0a..01625017 160000 --- a/sci +++ b/sci @@ -1 +1 @@ -Subproject commit 33bc0b0a14d3f9d95ad9ecf9f1b29e95527153a3 +Subproject commit 01625017d5734eab8716db98f07f2253883a197e