From 6ccee0cc86c2117a5f82b0c6ab6b56b053c838d7 Mon Sep 17 00:00:00 2001 From: Dilum Aluthge Date: Thu, 5 Aug 2021 23:11:54 -0400 Subject: [PATCH] CI (Buildkite): on the `platform_linux` jobs, after building Julia, make sure that the working directory is clean (#41796) (cherry picked from commit cb30aa7a089f4d5f1c9f834d96c3788f2e93ebcc) --- .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()'