summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Aruga <jaruga@redhat.com>2021-09-22 09:51:53 +0200
committerJun Aruga <junaruga@users.noreply.github.com>2021-09-23 10:21:06 +0200
commite6118c8108b6233615618ba1d048336ef83c6ff6 (patch)
treef449176e17a53ffa890fd5bac4f92883ce4924f2
parent8b48b57fd89ad1bbb1d3b4b8445a65ab2d0b272b (diff)
.github/workflows/compilers.yml: Use `GNUMAKEFLAGS`.
Because the `make` environment variable causes some rubygems tests to fail. And to align with `.cirrus.yml`.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4880
-rw-r--r--.github/workflows/compilers.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml
index 2fc387ab9a..6ddfba05db 100644
--- a/.github/workflows/compilers.yml
+++ b/.github/workflows/compilers.yml
@@ -181,7 +181,7 @@ jobs:
- name: setenv
run: |
echo "${{ matrix.entry.key }}=${{ matrix.entry.value }}" >> $GITHUB_ENV
- echo "make=make -sj$((1 + $(nproc --all)))" >> $GITHUB_ENV
+ echo "GNUMAKEFLAGS=-sj$((1 + $(nproc --all)))" >> $GITHUB_ENV
- uses: actions/checkout@v2
with:
path: src
@@ -192,20 +192,20 @@ jobs:
../src/configure -C ${default_configure} ${append_configure}
${{ matrix.entry.key == 'crosshost' && '--host="${crosshost}"' || '--with-gcc="${default_cc} ${append_cc}"' }}
${{ matrix.entry.shared || '--enable-shared' }}
- - run: $make extract-extlibs
- - run: $make incs
- - run: $make
- - run: $make leaked-globals
- - run: $make test
- - run: $make install
+ - run: make extract-extlibs
+ - run: make incs
+ - run: make
+ - run: make leaked-globals
+ - run: make test
+ - run: make install
if: ${{ matrix.entry.check }}
- run: /usr/local/bin/gem install --no-doc timezone tzinfo
if: ${{ matrix.entry.check }}
- - run: $make test-tool
+ - run: make test-tool
if: ${{ matrix.entry.check }}
- - run: $make test-all TESTS='-- ruby -ext-'
+ - run: make test-all TESTS='-- ruby -ext-'
if: ${{ matrix.entry.check }}
- - run: $make test-spec
+ - run: make test-spec
if: ${{ matrix.entry.check }}
- uses: k0kubun/action-slack@v2.0.0