aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ubuntu.yml
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-10-22 11:15:10 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2021-10-26 09:05:46 +0900
commit748688a63d8ab621d4b2ab91cbccb5cad2c7797c (patch)
tree1ffdad212980c049c97be4d7072eaf15eccc24c8 /.github/workflows/ubuntu.yml
parent92ec010595bed29567fc08dd4d52d4c4518f0fd4 (diff)
downloadruby-748688a63d8ab621d4b2ab91cbccb5cad2c7797c.tar.gz
.github: use GNUMAKEFLAGS instead of JOBS
A bit readable to me. See also https://github.com/ruby/ruby/pull/4880
Diffstat (limited to '.github/workflows/ubuntu.yml')
-rw-r--r--.github/workflows/ubuntu.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml
index e148b76cbe..b40a21b571 100644
--- a/.github/workflows/ubuntu.yml
+++ b/.github/workflows/ubuntu.yml
@@ -40,13 +40,13 @@ jobs:
sudo bash -c 'IFS=:; for d in '"$PATH"'; do chmod -v go-w $d; done' || :
- name: Set ENV
run: |
- echo "JOBS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV
+ echo "GNUMAKEFLAGS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV
- run: ./autogen.sh
working-directory: src
- name: Run configure
run: ../src/configure -C --disable-install-doc ${{ matrix.configure }}
- - run: make $JOBS incs
- - run: make $JOBS
+ - run: make incs
+ - run: make
- run: make leaked-globals
if: ${{ matrix.test_task == 'check' }}
- run: make prepare-gems
@@ -55,7 +55,7 @@ jobs:
run: |
./miniruby -e '(("a".."z").to_a+("A".."Z").to_a+("0".."9").to_a+%w[foo bar test zzz]).each{|basename|File.write("#{basename}.rb", "raise %(do not load #{basename}.rb)")}'
if: ${{ matrix.test_task == 'check' }}
- - run: make $JOBS -s ${{ matrix.test_task }}
+ - run: make -s ${{ matrix.test_task }}
timeout-minutes: 30
env:
RUBY_TESTOPTS: "-q --tty=no"