From addad85d534b088e04f4202bf62c37c6812d9ebf Mon Sep 17 00:00:00 2001 From: marc1uk Date: Tue, 6 Feb 2024 15:56:50 +0000 Subject: [PATCH] update CI workflow for extra disk space test removal of potentially unneeded packages to maximize available disk space --- .github/workflows/tempbuild.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tempbuild.yml b/.github/workflows/tempbuild.yml index 932992cd3..e36f1aefc 100644 --- a/.github/workflows/tempbuild.yml +++ b/.github/workflows/tempbuild.yml @@ -19,6 +19,13 @@ jobs: - name: prerequisits run: yum install -y git make gcc-c++ which wget - name: build - run: echo `pwd` && ln -s /ToolAnalysis/ToolDAQ $PWD/ToolDAQ && ls -l && ls -l ./ToolDAQ && source ./Setup.sh && make clean && make + run: + # Workaround to provide additional free space for testing. + # https://github.com/actions/virtual-environments/issues/2840 + sudo rm -rf /usr/share/dotnet + sudo rm -rf /opt/ghc + sudo rm -rf "/usr/local/share/boost" + sudo rm -rf "$AGENT_TOOLSDIRECTORY" + echo `pwd` && ln -s /ToolAnalysis/ToolDAQ $PWD/ToolDAQ && ls -l && ls -l ./ToolDAQ && source ./Setup.sh && make clean && make - name: test run : source ./Setup.sh && ./Analyse