Commit be2f0f9d authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Print git rev and status on build

parent f9596268
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -6,6 +6,9 @@ echo "Conda environment file: ${CONDA_ENVIRONMENT}"
echo "Extra pip requirements: ${REQUIREMENTS_TXT}"
echo "Extra pytest options: ${PYTEST_ADDOPTS}"
echo "PYOPENCL_TEST: ${PYOPENCL_TEST}"
echo "git revision: $(git rev-parse --short HEAD)"
echo "git status:"
git status -s
echo "-----------------------------------------------"

if [ "$(uname)" = "Darwin" ]; then
+3 −0
Original line number Diff line number Diff line
@@ -2,6 +2,9 @@ echo "-----------------------------------------------"
echo "Current directory: $(pwd)"
echo "Python executable: ${PY_EXE}"
echo "PYOPENCL_TEST: ${PYOPENCL_TEST}"
echo "git revision: $(git rev-parse --short HEAD)"
echo "git status:"
git status -s
echo "-----------------------------------------------"

# {{{ clean up