ruby-changes:53110
From: k0kubun <ko1@a...>
Date: Tue, 23 Oct 2018 22:22:13 +0900 (JST)
Subject: [ruby-changes:53110] k0kubun:r65324 (trunk): wercker.yml: setup MJIT wait CI
k0kubun 2018-10-23 22:22:07 +0900 (Tue, 23 Oct 2018) New Revision: 65324 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=65324 Log: wercker.yml: setup MJIT wait CI Modified files: trunk/wercker.yml Index: wercker.yml =================================================================== --- wercker.yml (revision 65323) +++ wercker.yml (revision 65324) @@ -9,29 +9,27 @@ build: https://github.com/ruby/ruby/blob/trunk/wercker.yml#L9 - script: name: show last commit code: git log -n1 - - # Pending for https://app.wercker.com/ruby/ruby/runs/build/5bce69356326620007fbaa5c?step=5bce697cacc4510006d30a47 - # I'll fix and enable this later. - - # - script: - # name: configure - # code: /usr/bin/sudo -H -u test -- bash -c 'autoconf && ./configure --disable-install-doc --prefix=/tmp/ruby-prefix' - # - script: - # name: make all install - # code: /usr/bin/sudo -H -u test -- bash -c 'make -j$(nproc) all install' - # - script: - # name: make test (JIT) - # code: /usr/bin/sudo -H -u test -- bash -c 'make test RUN_OPTS="--disable-gems --jit-wait --jit-warnings"' - # - 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' - # - 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"' + - script: + name: change owner to test user # using "test" user because some test-all tests fail with root user. + code: chown -R test:test . + - script: + name: configure + code: /usr/bin/sudo -H -u test -- bash -c 'autoconf && ./configure --disable-install-doc --prefix=/tmp/ruby-prefix' + - script: + name: make all install + code: /usr/bin/sudo -H -u test -- bash -c 'make -j$(nproc) all install' + - script: + name: make test (JIT) + code: /usr/bin/sudo -H -u test -- bash -c 'make test RUN_OPTS="--disable-gems --jit-wait --jit-warnings"' + - 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' + - 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"' after-steps: - wantedly/pretty-slack-notify: webhook_url: $SLACK_WEBHOOK_URL channel: alerts - username: mjit-test notify_on: "failed" branches: ^trunk$ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/