From 07216b6bdf825b84b870eb302b8858151d641214 Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Thu, 26 Dec 2024 02:53:15 -0800 Subject: [PATCH] ensure that the file test in mingw ci test displays its outcome --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cee54e8e..546ef966 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -628,7 +628,7 @@ jobs: PATH=/mingw64/bin:$PATH /mingw32/bin/mingw32-make -C tests/bench # Abort if result of "file ./xxhsum.exe" doesn't contain 'x86-64'. # Expected output is "./xxhsum.exe: PE32+ executable (console) x86-64, for MS Windows" - file ./xxhsum.exe | grep -q 'x86-64' || $(exit 1) + file ./xxhsum.exe | tee | grep -q 'x86-64' || $(exit 1) ./xxhsum.exe --version - name: mingw32 @@ -638,5 +638,5 @@ jobs: PATH=/mingw32/bin:$PATH /mingw32/bin/mingw32-make.exe -C tests/bench # Abort if result of "file ./xxhsum.exe" doesn't contain '80386'. # Expected output is "./xxhsum.exe: PE32 executable (console) Intel 80386, for MS Windows" - file ./xxhsum.exe | grep -q '80386' || $(exit 1) + file ./xxhsum.exe | tee | grep -q '80386' || $(exit 1) ./xxhsum.exe --version