ci: Avoid error on macOS native

This avoids "mkdir: /ci_container_base: Read-only file system"
This commit is contained in:
MarcoFalke 2023-08-15 23:27:39 +02:00
parent fa193f5dfc
commit fa6e5d3eef
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -34,6 +34,7 @@ jobs:
CI_USE_APT_INSTALL: 'no'
PACKAGE_MANAGER_INSTALL: 'echo' # Nothing to do
FILE_ENV: './ci/test/00_setup_env_mac_native.sh'
BASE_ROOT_DIR: ${{ github.workspace }}
steps:
- name: Checkout

View file

@ -15,7 +15,7 @@ export BASE_READ_ONLY_DIR
# The destination root dir inside the container.
# This folder will also hold any SDKs.
# This folder only exists on the ci guest and will be a copy of BASE_READ_ONLY_DIR
export BASE_ROOT_DIR="/ci_container_base"
export BASE_ROOT_DIR="${BASE_ROOT_DIR:-/ci_container_base}"
# The depends dir.
# This folder exists only on the ci guest, and on the ci host as a volume.
export DEPENDS_DIR=${DEPENDS_DIR:-$BASE_ROOT_DIR/depends}