From 66e7241d0e06489a99268829d241526073942c16 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Thu, 5 Aug 2021 22:24:58 -0400 Subject: [PATCH] CI (Buildkite): on the `platform_linux` jobs, after building Julia, make sure that the working directory is clean --- .buildkite/pipelines/main/platforms/linux64.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.buildkite/pipelines/main/platforms/linux64.yml b/.buildkite/pipelines/main/platforms/linux64.yml index 1e88db1144b4c..44b0ebe29f557 100644 --- a/.buildkite/pipelines/main/platforms/linux64.yml +++ b/.buildkite/pipelines/main/platforms/linux64.yml @@ -35,6 +35,9 @@ steps: make release make install + echo "--- Make sure that the working directory is clean" + if [ -z "$(git status --short)" ]; then echo "INFO: The working directory is clean."; else echo "ERROR: The working directory is dirty."; echo "Output of git status:"; git status; exit 1; fi + echo "--- Print Julia version info" ./julia -e 'using InteractiveUtils; InteractiveUtils.versioninfo()'