diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-10-22 11:15:10 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-10-26 09:05:46 +0900 |
commit | 748688a63d8ab621d4b2ab91cbccb5cad2c7797c (patch) | |
tree | 1ffdad212980c049c97be4d7072eaf15eccc24c8 /.github/workflows/ubuntu.yml | |
parent | 92ec010595bed29567fc08dd4d52d4c4518f0fd4 (diff) | |
download | ruby-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.yml | 8 |
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" |