Skip to content
Snippets Groups Projects
Commit 9d37c957 authored by Simon McVittie's avatar Simon McVittie
Browse files

CI: Redirect ${TMPDIR} into build directory


We're getting test failures in which _srt_rm_rf() fails to remove a
directory because the directory is non-empty, even though we're
deleting depth-first, so it really ought to be empty. One theory
is that this is something to do with tmpfs.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent b8eea83e
No related branches found
No related tags found
No related merge requests found
Pipeline #4247 failed
...@@ -41,6 +41,11 @@ variables: ...@@ -41,6 +41,11 @@ variables:
# Set non-empty to allow # Set non-empty to allow
CI_ALLOW_MISSING_SOURCES: '' CI_ALLOW_MISSING_SOURCES: ''
# Work around _srt_rm_rf behaving oddly on overlayfs (?)
STEAM_CI_INSTALL_SCRIPT: |
mkdir -p "${TMPDIR}"
TMPDIR: "${CI_PROJECT_DIR}/debian/tmpdir"
stages: stages:
- build - build
- test - test
...@@ -135,6 +140,7 @@ autopkgtest: ...@@ -135,6 +140,7 @@ autopkgtest:
- build - build
variables: variables:
STEAM_CI_INSTALL_SCRIPT: | STEAM_CI_INSTALL_SCRIPT: |
mkdir -p "${TMPDIR}"
# Workaround for the build regression described in !88 # Workaround for the build regression described in !88
apt-get -y remove libsteam-runtime-tools-0-helpers apt-get -y remove libsteam-runtime-tools-0-helpers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment