mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
wercker.yml: run slower job first
to reduce time taken for finishing all jobs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
789244e1b1
commit
beec400d9e
1 changed files with 33 additions and 33 deletions
66
wercker.yml
66
wercker.yml
|
@ -6,39 +6,6 @@ box: ruby:2.5-stretch
|
|||
no-response-timeout: 30
|
||||
command-timeout: 60
|
||||
|
||||
test-mjit:
|
||||
steps:
|
||||
- install-packages:
|
||||
packages: bison sudo
|
||||
- script:
|
||||
name: workaround ipv6 localhost
|
||||
code: ruby -e "hosts = File.read('/etc/hosts').sub(/^::1\s*localhost.*$/, ''); File.write('/etc/hosts', hosts)"
|
||||
- script:
|
||||
name: create user # some file permission tests don't succeed with root.
|
||||
code: useradd --shell /bin/bash --create-home test && 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 -- make -j$(nproc) all install
|
||||
- script:
|
||||
name: make test (JIT)
|
||||
code: /usr/bin/sudo -H -u test -- make test RUN_OPTS="--disable-gems --jit --jit-warnings"
|
||||
- script:
|
||||
name: make test-all (JIT)
|
||||
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit --jit-warnings" TESTOPTS="--color=never --job-status=normal --longest 10 --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/test-mjit"
|
||||
- script:
|
||||
name: make test-spec (JIT)
|
||||
code: /usr/bin/sudo -H -u test -- make test-spec RUN_OPTS="--disable-gems --jit --jit-warnings"
|
||||
after-steps:
|
||||
- wantedly/pretty-slack-notify:
|
||||
webhook_url: $SLACK_WEBHOOK_URL
|
||||
username: Wercker test-mjit
|
||||
channel: alerts
|
||||
notify_on: "failed"
|
||||
branches: ^trunk$
|
||||
|
||||
test-mjit-wait:
|
||||
steps:
|
||||
- install-packages:
|
||||
|
@ -75,3 +42,36 @@ test-mjit-wait:
|
|||
channel: alerts
|
||||
notify_on: "failed"
|
||||
branches: ^trunk$
|
||||
|
||||
test-mjit:
|
||||
steps:
|
||||
- install-packages:
|
||||
packages: bison sudo
|
||||
- script:
|
||||
name: workaround ipv6 localhost
|
||||
code: ruby -e "hosts = File.read('/etc/hosts').sub(/^::1\s*localhost.*$/, ''); File.write('/etc/hosts', hosts)"
|
||||
- script:
|
||||
name: create user # some file permission tests don't succeed with root.
|
||||
code: useradd --shell /bin/bash --create-home test && 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 -- make -j$(nproc) all install
|
||||
- script:
|
||||
name: make test (JIT)
|
||||
code: /usr/bin/sudo -H -u test -- make test RUN_OPTS="--disable-gems --jit --jit-warnings"
|
||||
- script:
|
||||
name: make test-all (JIT)
|
||||
code: /usr/bin/sudo -H -u test -- make test-all RUN_OPTS="--disable-gems --jit --jit-warnings" TESTOPTS="--color=never --job-status=normal --longest 10 --subprocess-timeout-scale=3.0 --excludes=test/excludes/_wercker/test-mjit"
|
||||
- script:
|
||||
name: make test-spec (JIT)
|
||||
code: /usr/bin/sudo -H -u test -- make test-spec RUN_OPTS="--disable-gems --jit --jit-warnings"
|
||||
after-steps:
|
||||
- wantedly/pretty-slack-notify:
|
||||
webhook_url: $SLACK_WEBHOOK_URL
|
||||
username: Wercker test-mjit
|
||||
channel: alerts
|
||||
notify_on: "failed"
|
||||
branches: ^trunk$
|
||||
|
|
Loading…
Reference in a new issue