@@ -64,6 +64,7 @@ before_build:
- ps: $env:COMMIT_MESSAGE = $(git log --format=%B -n 1 $env:APPVEYOR_REPO_COMMIT)
- rake ci_setup_cache
build_script:
+ - ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER) { $env:URHO3D_TOOLS = "0" }
- rake ci && if "%PACKAGE_UPLOAD%" == "1" rake ci_package_upload && move Build\*.zip . && rd /S /Q Build\_CPack_Packages
- rake ci_timer
after_build: rake ci_teardown_cache
@@ -449,7 +449,7 @@ desc 'Teardown build cache'
task :ci_teardown_cache do
# AppVeyor on Windows host has different kind of cache mechanism, not based on ccache
if ENV['APPVEYOR']
- # No-op for now
+ system "bash -c 'rm -rf #{ENV['build_tree']}/{bin,Source/Urho3D/tolua++-prefix/src/tolua++-build/bin}'"
next
# Upload cache to internal cache store if it is our own
elsif ENV['USE_CCACHE'].to_i == 2