mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-25 20:45:19 -04:00
22 lines
393 B
Bash
Executable file
22 lines
393 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# author: Ole Schuett
|
|
|
|
if (($# != 2)); then
|
|
echo "Usage: test_build.sh <PROFILE> <VERSION>"
|
|
exit 1
|
|
fi
|
|
|
|
VERSION=$2
|
|
|
|
if [ -f build/bin/cp2k."${VERSION}" ]; then
|
|
echo -e "\nSummary: Compilation works fine."
|
|
echo -e "Status: OK\n"
|
|
else
|
|
echo -e "\nSummary: Compilation failed."
|
|
echo -e "Status: FAILED\n"
|
|
fi
|
|
|
|
exit 0 # Prevent CI from overwriting our summary message.
|
|
|
|
#EOF
|