diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-08-28 09:45:31 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-08-28 09:45:31 +0900 |
commit | 108dbb389b0a47199c8d0f271c34a22dd2406f2e (patch) | |
tree | 0ce7bea3c7f0ad6dfd8454743fcf176b75d8f479 /.github | |
parent | 330c2f7597a132281d37eeca999a4a069c8bc11a (diff) | |
download | ruby-108dbb389b0a47199c8d0f271c34a22dd2406f2e.tar.gz |
Use JOBS again like macos.yml
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ubuntu.yml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 5e9304dba3..e1cfa2d22f 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -36,13 +36,17 @@ jobs: run: | chmod go-w $HOME sudo chmod -R go-w /usr/share + - name: Set ENV + run: | + echo '##[set-env name=JOBS]'-j$((1 + $(nproc --all))) - run: autoconf - name: configure run: ./configure -C --disable-install-doc - - run: make -j$((1 + $(nproc --all))) + - run: make $JOBS - name: Tests - run: make -s TESTOPTS="-j$((1 + $(nproc --all))) -q --tty=no" ${{ matrix.test_task }} + run: make -s ${{ matrix.test_task }} env: + TESTOPTS: "$JOBS -q --tty=no" MSPECOPT: "-ff" # not using `-j` because sometimes `mspec -j` silently dies if: matrix.test_task != 'test-bundled-gems' && !contains(github.event.head_commit.message, '[ci skip]') # test-bundled-gems is separated for marking `continue-on-error` because it randomly fails. |