Skip to content

Commit 7212e0a

Browse files
committed
CI: factor and enhance version info
1 parent e7fdaf9 commit 7212e0a

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,11 @@ jobs:
171171
- name: Version info
172172
run: |
173173
echo == TOOL VERSIONS ==
174-
set -x
175-
uname -a
176-
if test -r /etc/os-release ; then cat /etc/os-release ; fi
177-
${FC} --version
178-
${CC} --version
179-
${CXX} --version
180-
fpm --version
174+
(set -x ; uname -a )
175+
if test -r /etc/os-release ; then (set -x ; cat /etc/os-release ) ; fi
176+
for tool in ${FC} ${CC} ${CXX} fpm ; do
177+
( set -x ; w=$(which $tool) ; ls -al $w ; ls -alhL $w ; $tool --version )
178+
done
181179
182180
- name: Build Caffeine (install.sh)
183181
run: |

0 commit comments

Comments
 (0)