Skip to content

Commit fa6e5d3

Browse files
author
MarcoFalke
committed
ci: Avoid error on macOS native
This avoids "mkdir: /ci_container_base: Read-only file system"
1 parent fa193f5 commit fa6e5d3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
CI_USE_APT_INSTALL: 'no'
3535
PACKAGE_MANAGER_INSTALL: 'echo' # Nothing to do
3636
FILE_ENV: './ci/test/00_setup_env_mac_native.sh'
37+
BASE_ROOT_DIR: ${{ github.workspace }}
3738

3839
steps:
3940
- name: Checkout

ci/test/00_setup_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export BASE_READ_ONLY_DIR
1515
# The destination root dir inside the container.
1616
# This folder will also hold any SDKs.
1717
# This folder only exists on the ci guest and will be a copy of BASE_READ_ONLY_DIR
18-
export BASE_ROOT_DIR="/ci_container_base"
18+
export BASE_ROOT_DIR="${BASE_ROOT_DIR:-/ci_container_base}"
1919
# The depends dir.
2020
# This folder exists only on the ci guest, and on the ci host as a volume.
2121
export DEPENDS_DIR=${DEPENDS_DIR:-$BASE_ROOT_DIR/depends}

0 commit comments

Comments
 (0)