summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-28 00:45:31 (GMT)
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-28 00:45:31 (GMT)
commit108dbb389b0a47199c8d0f271c34a22dd2406f2e (patch)
tree0ce7bea3c7f0ad6dfd8454743fcf176b75d8f479
parent330c2f7597a132281d37eeca999a4a069c8bc11a (diff)
Use JOBS again like macos.yml
-rw-r--r--.github/workflows/ubuntu.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index 5e9304d..e1cfa2d 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.