ruby-changes:53111
From: k0kubun <ko1@a...>
Date: Tue, 23 Oct 2018 22:34:55 +0900 (JST)
Subject: [ruby-changes:53111] k0kubun:r65325 (trunk): wercker.yml: explain the usage of Wercker
k0kubun 2018-10-23 22:34:50 +0900 (Tue, 23 Oct 2018) New Revision: 65325 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65325 Log: wercker.yml: explain the usage of Wercker at ruby repository. I also added a woraround to loosen timeout for test-all. I resolved the issue that lets --jit-wait CI timeout, so this workaround is not strictly needed, but this might make it easier to debug when things go wrong. Modified files: trunk/wercker.yml Index: wercker.yml =================================================================== --- wercker.yml (revision 65324) +++ wercker.yml (revision 65325) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/wercker.yml#L1 +# +# Wercker is dedicated for testing MJIT. Please use Travis or AppVeyor for non-MJIT testing. +# This runs all Ruby tests with --jit-wait, which synchronously JITs all methods. +# box: k0kubun/mjit-test # move this to some ruby/xxx repository no-response-timeout: 30 command-timeout: 60 @@ -21,9 +25,13 @@ build: https://github.com/ruby/ruby/blob/trunk/wercker.yml#L25 - script: name: make test (JIT) code: /usr/bin/sudo -H -u test -- bash -c 'make test RUN_OPTS="--disable-gems --jit-wait --jit-warnings"' + # split test-all to 2 steps to loosen timeout - script: - name: make test-all (JIT) - code: /usr/bin/sudo -H -u test -- bash -c 'make test-all TESTOPTS="--color=never --job-status=normal" RUN_OPTS="--disable-gems --jit-wait --jit-warnings" RUBY_FORCE_TEST_JIT=1' + name: make test-all1 (JIT) # only: test/ruby/ + code: /usr/bin/sudo -H -u test -- bash -c 'make test-all TESTS="test/ruby/" TESTOPTS="--color=never --job-status=normal" RUN_OPTS="--disable-gems --jit-wait --jit-warnings"' + - script: + name: make test-all2 (JIT) # except: test/ruby/ + code: /usr/bin/sudo -H -u test -- bash -c 'make test-all TESTOPTS="--exclude test/ruby/ --color=never --job-status=normal" RUN_OPTS="--disable-gems --jit-wait --jit-warnings"' - script: name: make test-spec (JIT) code: /usr/bin/sudo -H -u test -- bash -c 'make test-spec RUN_OPTS="--disable-gems --jit-wait --jit-warnings"' -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/