This is another small improvement. I pushed this patch to my fork (see CI run[1]), so you can compare how it looked before (any previous run) and after the patch.
- Kirill Makurin [1] https://github.com/maiddaisuki/mingw-w64/actions/runs/21132287526
From 94c6e274970d63ea751887b4e339e002f43053aa Mon Sep 17 00:00:00 2001 From: Kirill Makurin <[email protected]> Date: Mon, 19 Jan 2026 18:25:14 +0900 Subject: [PATCH] github: pass --no-print-directory to make when compiling and running tests When compiling and running tests, make produces a lot of messages make: Entering directory ... ... make: Leaving directory ... They become visual noice and make it harder to understand what it going on during the build. Passing --no-print-directory to make prevents it from printing these messages. Signed-off-by: Kirill Makurin <[email protected]> --- .github/workflows/build.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d78f67c97..001c4a818 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -622,13 +622,13 @@ jobs: ../configure --disable-dependency-tracking --prefix=/llvm-mingw/${{matrix.arch}}-w64-mingw32 --host=${{matrix.arch}}-w64-mingw32 --with-default-msvcrt=${{matrix.crt}} --enable-silent-rules ${{ (startsWith(matrix.arch, 'a') && '--disable-lib32 --disable-lib64') || (matrix.arch == 'x86_64' && '--disable-lib32') || '--disable-lib64' }} CPPFLAGS="-Werror" make -j$(nproc) make -j$(nproc) install - make -j$(nproc) check -k -O TESTS= + make -j$(nproc) check -k -O --no-print-directory TESTS= - name: Run mingw-w64-crt testcases if: matrix.arch != 'armv7' run: | export PATH=/llvm-mingw/bin:$PATH cd mingw-w64-crt/build - make -j$(nproc) check -k -O || { cat testcases/test-suite.log; exit 1; } + make -j$(nproc) check -k -O --no-print-directory || { cat testcases/test-suite.log; exit 1; } - name: Build winpthreads and tests run: | export PATH=/llvm-mingw/bin:$PATH @@ -638,13 +638,13 @@ jobs: cd build ../configure --disable-dependency-tracking --prefix=/llvm-mingw/${{matrix.arch}}-w64-mingw32 --host=${{matrix.arch}}-w64-mingw32 --enable-silent-rules CPPFLAGS="-Werror" make -j$(nproc) - make -j$(nproc) check -k -O TESTS= + make -j$(nproc) check -k -O --no-print-directory TESTS= - name: Test winpthreads if: matrix.arch != 'armv7' run: | export PATH=/llvm-mingw/bin:$PATH cd mingw-w64-libraries/winpthreads/build - make -j$(nproc) check -k -O || { cat tests/test-suite.log; exit 1; } + make -j$(nproc) check -k -O --no-print-directory || { cat tests/test-suite.log; exit 1; } testcases-gcc: runs-on: windows-latest @@ -698,8 +698,8 @@ jobs: ../configure --disable-dependency-tracking --prefix=/gcc-mingw/${{matrix.arch}}-w64-mingw32 --host=${{matrix.arch}}-w64-mingw32 --with-default-msvcrt=${{matrix.crt}} --enable-silent-rules ${{ matrix.arch == 'x86_64' && '--disable-lib32' || '--disable-lib64' }} CPPFLAGS="-Werror" make -j$(nproc) make -j$(nproc) install - make -j$(nproc) check -k -O TESTS= - make -j$(nproc) check -k -O || { cat testcases/test-suite.log; exit 1; } + make -j$(nproc) check -k -O --no-print-directory TESTS= + make -j$(nproc) check -k -O --no-print-directory || { cat testcases/test-suite.log; exit 1; } - name: Build and test winpthreads run: | export PATH=/gcc-mingw/bin:$PATH @@ -709,5 +709,5 @@ jobs: cd build ../configure --disable-dependency-tracking --prefix=/gcc-mingw/${{matrix.arch}}-w64-mingw32 --host=${{matrix.arch}}-w64-mingw32 --enable-silent-rules CPPFLAGS="-Werror" make -j$(nproc) - make -j$(nproc) check -k -O TESTS= - make -j$(nproc) check -k -O || { cat tests/test-suite.log; exit 1; } + make -j$(nproc) check -k -O --no-print-directory TESTS= + make -j$(nproc) check -k -O --no-print-directory || { cat tests/test-suite.log; exit 1; } -- 2.51.0.windows.1
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
