authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-10 16:33:48-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-08-19 16:45:15-07:00
log7346600517f5902316e5b8c179d8120b7854a5e1
tree0bc320f6718171983c35e1e50057652ba2543b8e
parente3ccea70dd13ce94f5d2c96c7824fb743282447c

CI: avoid concurrent jobs tripping over each other


3 files changed, 10 insertions(+), 10 deletions(-)

ci/zinc/linux_base.sh+4
...@@ -25,3 +25,7 @@ DEBUG_STAGING="$WORKSPACE/_debug/staging"...@@ -25,3 +25,7 @@ DEBUG_STAGING="$WORKSPACE/_debug/staging"
25RELEASE_STAGING="$WORKSPACE/_release/staging"25RELEASE_STAGING="$WORKSPACE/_release/staging"
2626
27export PATH=$DEPS_LOCAL/bin:$PATH27export PATH=$DEPS_LOCAL/bin:$PATH
28
29# Make the `zig version` number consistent.
30# This will affect the cmake commands that follow.
31git config core.abbrev 9
ci/zinc/linux_test_stage3_debug.sh+6-6
...@@ -6,10 +6,6 @@ OLD_ZIG="$DEPS_LOCAL/bin/zig"...@@ -6,10 +6,6 @@ OLD_ZIG="$DEPS_LOCAL/bin/zig"
6TARGET="${ARCH}-linux-musl"6TARGET="${ARCH}-linux-musl"
7MCPU="baseline"7MCPU="baseline"
88
9# Make the `zig version` number consistent.
10# This will affect the cmake command below.
11git config core.abbrev 9
12
13echo "building stage3-debug with zig version $($OLD_ZIG version)"9echo "building stage3-debug with zig version $($OLD_ZIG version)"
1410
15# Override the cache directories so that we don't clobber with the release11# Override the cache directories so that we don't clobber with the release
...@@ -53,8 +49,12 @@ cd $WORKSPACE...@@ -53,8 +49,12 @@ cd $WORKSPACE
53stage3/bin/zig build -Dtarget=arm-linux-musleabihf49stage3/bin/zig build -Dtarget=arm-linux-musleabihf
5450
55echo "Looking for non-conforming code formatting..."51echo "Looking for non-conforming code formatting..."
56echo "Formatting errors can be fixed by running 'zig fmt' on the files printed here."52stage3/bin/zig fmt --check . \
57stage3/bin/zig fmt --check . --exclude test/cases/53 --exclude test/cases/ \
54 --exclude build-debug \
55 --exclude build-release \
56 --exclude "$ZIG_LOCAL_CACHE_DIR" \
57 --exclude "$ZIG_GLOBAL_CACHE_DIR"
5858
59stage3/bin/zig build test \59stage3/bin/zig build test \
60 -fqemu \60 -fqemu \
ci/zinc/linux_test_stage3_release.sh-4
...@@ -6,10 +6,6 @@ OLD_ZIG="$DEPS_LOCAL/bin/zig"...@@ -6,10 +6,6 @@ OLD_ZIG="$DEPS_LOCAL/bin/zig"
6TARGET="${ARCH}-linux-musl"6TARGET="${ARCH}-linux-musl"
7MCPU="baseline"7MCPU="baseline"
88
9# Make the `zig version` number consistent.
10# This will affect the cmake command below.
11git config core.abbrev 9
12
13echo "building stage3-release with zig version $($OLD_ZIG version)"9echo "building stage3-release with zig version $($OLD_ZIG version)"
1410
15export CC="$OLD_ZIG cc -target $TARGET -mcpu=$MCPU"11export CC="$OLD_ZIG cc -target $TARGET -mcpu=$MCPU"