diff options
Diffstat (limited to '.github/workflows/ubuntu.yml')
-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. |