[前][次][番号順一覧][スレッド一覧]

ruby-changes:52723

From: k0kubun <ko1@a...>
Date: Sun, 7 Oct 2018 17:15:53 +0900 (JST)
Subject: [ruby-changes:52723] k0kubun:r64935 (trunk): appveyor.yml: use ./tmp as TMPDIR for test-all

k0kubun	2018-10-07 17:15:48 +0900 (Sun, 07 Oct 2018)

  New Revision: 64935

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64935

  Log:
    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.

  Modified files:
    trunk/appveyor.yml
Index: appveyor.yml
===================================================================
--- appveyor.yml	(revision 64934)
+++ appveyor.yml	(revision 64935)
@@ -84,6 +84,7 @@ for: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L84
   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: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L93
     - 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:

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]