summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2021-10-22 11:15:10 +0900
committerusa <usa@garbagecollect.jp>2023-03-29 10:57:57 +0900
commit54d0a2af33c7a43ad3bc7d54da8a68d0d31e1c0a (patch)
treef58ef14e0723198a31531cc8d75be6c37639ade2
parentfcab8cf702a529301568aa605774ebb470febe97 (diff)
downloadruby-54d0a2af33c7a43ad3bc7d54da8a68d0d31e1c0a.tar.gz
.github: use GNUMAKEFLAGS instead of JOBS
A bit readable to me. See also https://github.com/ruby/ruby/pull/4880
-rw-r--r--.github/workflows/mjit.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/mjit.yml b/.github/workflows/mjit.yml
index 9a408b7f0c..f4b40b77db 100644
--- a/.github/workflows/mjit.yml
+++ b/.github/workflows/mjit.yml
@@ -34,29 +34,29 @@ 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 cppflags=-DVM_CHECK_MODE
- - run: make $JOBS incs
- - run: make $JOBS
- - run: sudo make $JOBS -s install
+ - run: make incs
+ - run: make
+ - run: sudo make -s install
- run: sudo apt-get install gdb # used by test / test-all failure
- name: Run test
run: |
ulimit -c unlimited
- make $JOBS -s test RUN_OPTS="$RUN_OPTS"
+ make -s test RUN_OPTS="$RUN_OPTS"
timeout-minutes: 60
- name: Run test-all
run: |
ulimit -c unlimited
- make $JOBS -s test-all RUN_OPTS="$RUN_OPTS"
+ make -s test-all RUN_OPTS="$RUN_OPTS"
timeout-minutes: 60
- name: Run test-spec
run: |
ulimit -c unlimited
- make $JOBS -s test-spec RUN_OPTS="$RUN_OPTS"
+ make -s test-spec RUN_OPTS="$RUN_OPTS"
timeout-minutes: 60
- uses: k0kubun/action-slack@v2.0.0
with: