ci: unique installer build directory per run attempt
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 5m42s
VoidBuildSystem CI / 1 · Requirements (push) Successful in 3s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 4m56s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 5m24s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 4m54s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 1m32s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m39s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 2m49s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 19s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 17s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 5m45s
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Failing after 53s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Failing after 1m7s
VoidBuildSystem CI / 5 · Release (push) Skipped
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 5m42s
VoidBuildSystem CI / 1 · Requirements (push) Successful in 3s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 4m56s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 5m24s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 4m54s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 1m32s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m39s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 2m49s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 19s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 17s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 5m45s
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Failing after 53s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Failing after 1m7s
VoidBuildSystem CI / 5 · Release (push) Skipped
The diagnostics showed the sealed snapshot tree being rewritten while the build compiled from it (files re-created mid-job), so another job execution was sharing the directory. Reruns share the run id: key the self-hosted build directory by run attempt as well.
This commit is contained in:
1 parent
ac5a7bf267
commit
b6b9527c9c
1 file changed
+2
-2
@@ -295,7 +295,7 @@ jobs:
|
|||||||
out=dist-installers
|
out=dist-installers
|
||||||
prefix="$(mktemp -d)"
|
prefix="$(mktemp -d)"
|
||||||
mkdir -p "${out}"
|
mkdir -p "${out}"
|
||||||
build_dir="build/selfhost-${GITHUB_RUN_ID}"
|
build_dir="build/selfhost-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT:-1}"
|
||||||
install_archive() {
|
install_archive() {
|
||||||
local fmt="$1" ext="$2"
|
local fmt="$1" ext="$2"
|
||||||
local attempt=1
|
local attempt=1
|
||||||
@@ -374,7 +374,7 @@ jobs:
|
|||||||
out=dist-installers-windows
|
out=dist-installers-windows
|
||||||
prefix="$(mktemp -d)"
|
prefix="$(mktemp -d)"
|
||||||
mkdir -p "${out}"
|
mkdir -p "${out}"
|
||||||
build_dir="build/selfhost-windows-${GITHUB_RUN_ID}"
|
build_dir="build/selfhost-windows-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT:-1}"
|
||||||
for fmt in tar zip nuget wix; do
|
for fmt in tar zip nuget wix; do
|
||||||
case "${fmt}" in
|
case "${fmt}" in
|
||||||
tar) ext=tar ;;
|
tar) ext=tar ;;
|
||||||
|
|||||||
Reference in new issue
Block a user