Skip to content

Commit

Permalink
ensure that the file test in mingw ci test displays its outcome
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyan4973 committed Dec 26, 2024
1 parent 6bdecb5 commit b27a577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 /dev/stderr | grep -q 'x86-64' || $(exit 1)
./xxhsum.exe --version
- name: mingw32
Expand All @@ -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 /dev/stderr | grep -q '80386' || $(exit 1)
./xxhsum.exe --version

0 comments on commit b27a577

Please sign in to comment.