forked from github/verilator
CI: (fix) check that CCACHE_DIR is set, before execing mkdir
This commit is contained in:
parent
6e3de7bfd1
commit
e37a93bffb
@ -69,7 +69,9 @@ if [ "$CI_BUILD_STAGE_NAME" = "build" ]; then
|
||||
fatal "Unknown os: '$CI_OS_NAME'"
|
||||
fi
|
||||
|
||||
mkdir -p "$CCACHE_DIR" && ./ci/ci-ccache-maint.bash
|
||||
if [ -n "$CCACHE_DIR" ]; then
|
||||
mkdir -p "$CCACHE_DIR" && ./ci/ci-ccache-maint.bash
|
||||
fi
|
||||
elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
|
||||
##############################################################################
|
||||
# Dependencies of jobs in the 'test' stage, i.e.: packages required to
|
||||
|
Loading…
Reference in New Issue
Block a user