summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-07 08:15:48 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-07 08:15:48 +0000
commit86e09265b66bb7a1d4318db9fa1d6c58c09117a6 (patch)
tree71238c2b8f62deb1c609af712b84272bab291516
parent77a682a3dd6f6638487aec87538be0d55fe96801 (diff)
appveyor.yml: use ./tmp as TMPDIR for test-all
on VS. On AppVeyor, we seem to fail to remove so file due to permission error. C:/projects/ruby/test/ruby/test_jit.rb:419: warning: MJIT warning: failed to remove "C:\Users\appveyor\AppData\Local\Temp\1/_ruby_mjit_p3580u0.so": Permission denied https://ci.appveyor.com/project/ruby/ruby/builds/19317520/job/sh8s6tw6ayxvtl33 But this is not reproductive on my local mswin environment at all. To identify the cause, let me try changing the TMPDIR. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--appveyor.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 51b61f9167..5ba7c5efd5 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -84,6 +84,7 @@ for:
build_script:
- cd %APPVEYOR_BUILD_FOLDER%
- cd %Platform%-mswin_%vs%
+ - mkdir tmp
- ..\win32\configure.bat --without-ext=+,dbm,gdbm,readline --with-opt-dir=/usr/local --with-openssl-dir=%OPENSSL_DIR:\=/%
- nmake -l
- nmake install-nodoc
@@ -92,7 +93,7 @@ for:
- set /a JOBS=%NUMBER_OF_PROCESSORS%
- nmake -l "TESTOPTS=-v -q" btest
- nmake -l "TESTOPTS=-v -q" test-basic
- - nmake -l "TESTOPTS=-q -j%JOBS% --subprocess-timeout-scale=3.0" test-all RUBY_FORCE_TEST_JIT=1
+ - nmake -l "TESTOPTS=-q -j%JOBS% --subprocess-timeout-scale=3.0" test-all RUBY_FORCE_TEST_JIT=1 TMPDIR=".\tmp"
- nmake -l test-spec
-
matrix: