Skip to content

Commit 04ef67b

Browse files
committed
ci: TRY yum clean to make more disk space
Signed-off-by: Larry Gritz <[email protected]>
1 parent 998479f commit 04ef67b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ jobs:
365365
OPENIMAGEIO_CMAKE_FLAGS=-DBUILD_FMT_VERSION=7.1.3
366366
USE_OPENVDB=0
367367
OPENCOLORIO_CMAKE_FLAGS="-DCMAKE_CXX_COMPILER=g++"
368+
OSL_YUM_CLEAN=1
368369
- desc: icx/C++17 llvm14 py3.10 oiio-3.0 avx2
369370
nametag: linux-icx
370371
# This job variation needs a bigger runner with more "disk space",
@@ -388,6 +389,7 @@ jobs:
388389
setenvs: export OSL_CMAKE_FLAGS="-DSTOP_ON_WARNING=OFF"
389390
USE_OPENVDB=0
390391
OPENCOLORIO_CMAKE_FLAGS="-DCMAKE_CXX_COMPILER=g++"
392+
OSL_YUM_CLEAN=1
391393

392394
- desc: Debug gcc9/C++17 llvm14 py3.10 oiio2.5 exr3.1 sse4
393395
nametag: linux-debug-gcc9-llvm14

src/build-scripts/gh-installdeps.bash

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ if [[ "$ASWF_ORG" != "" ]] ; then
5858
ls -R conan
5959
fi
6060

61+
if [[ "${OSL_YUM_CLEAN}" != "" ]]
62+
time sudo yum clean packages
63+
fi
64+
6165
if [[ "$CXX" == "icpc" || "$CC" == "icc" || "$USE_ICC" != "" ]] ; then
6266
# Lock down icc to 2022.1 because newer versions hosted on the Intel
6367
# repo require a glibc too new for the ASWF CentOS7-based containers

0 commit comments

Comments
 (0)