Commit 5466939d authored by José Henrique's avatar José Henrique
Browse files

Create dir if not exists

parent 20c1212b
...@@ -56,4 +56,11 @@ build_env_vars["working_dir"] = ( ...@@ -56,4 +56,11 @@ build_env_vars["working_dir"] = (
build_env_vars["ccache_dir"] = ( build_env_vars["ccache_dir"] = (
"/mnt/roms/ccache" if not os.getenv("working_dir") "/mnt/roms/ccache" if not os.getenv("working_dir")
else os.getenv("working_dir")) else os.getenv("working_dir"))
if not os.path.exists(build_env_vars["working_dir"]):
os.makedirs(build_env_vars["working_dir"])
if not os.path.exists(build_env_vars["ccache_dir"]):
os.makedirs(build_env_vars["ccache_dir"])
build_env_vars["runner_name"] = build_env_vars["CI_RUNNER_DESCRIPTION"] build_env_vars["runner_name"] = build_env_vars["CI_RUNNER_DESCRIPTION"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment