Skip to content

Commit 89b4f15

Browse files
authored
CI: Set the verbose option in the Makefile to print compiling commands. (#1187)
Enable the verbose option in the Makefile used to compile the extension to print the compiling command lines in the log. Note that we use MAKEFLAGS rather than GNUMAKEFLAGS[1], because the GNUMAKEFLAGS doesn't work for the make used in CI MacOS cases. We don't need to set the verbose option to the CI Fedora and CentOS cases (`.github/workflows/container.yml`). Because the Rubies from the Ruby RPM package used in Fedora and CentOS cases are already enabling the verbose option. [1] https://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.html
1 parent a2873cd commit 89b4f15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
run: echo "127.0.0.1 mysql2gem.example.com" | tee -a C:/Windows/System32/drivers/etc/hosts
6464
- run: echo 'DB=${{ matrix.db }}' >> $GITHUB_ENV
6565
- run: bash ci/setup.sh
66+
# Set the verbose option in the Makefile to print compiling command lines.
67+
- run: echo "MAKEFLAGS=V=1" >> $GITHUB_ENV
6668
- if: matrix.ssl
6769
run: echo "rake_spec_opts=--with-openssl-dir=$(brew --prefix ${{ matrix.ssl }})" >> $GITHUB_ENV
6870
- run: bundle exec rake spec -- $rake_spec_opts

0 commit comments

Comments
 (0)