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"
2525RELEASE_STAGING="$WORKSPACE/_release/staging"
2626
2727export 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"
66TARGET="${ARCH}-linux-musl"
77MCPU="baseline"
88
9# Make the `zig version` number consistent.
10# This will affect the cmake command below.
11git config core.abbrev 9
12
139echo "building stage3-debug with zig version $($OLD_ZIG version)"
1410
1511# Override the cache directories so that we don't clobber with the release
......@@ -53,8 +49,12 @@ cd $WORKSPACE
5349stage3/bin/zig build -Dtarget=arm-linux-musleabihf
5450
5551echo "Looking for non-conforming code formatting..."
56echo "Formatting errors can be fixed by running 'zig fmt' on the files printed here."
57stage3/bin/zig fmt --check . --exclude test/cases/
52stage3/bin/zig fmt --check . \
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
5959stage3/bin/zig build test \
6060 -fqemu \
ci/zinc/linux_test_stage3_release.sh-4
......@@ -6,10 +6,6 @@ OLD_ZIG="$DEPS_LOCAL/bin/zig"
66TARGET="${ARCH}-linux-musl"
77MCPU="baseline"
88
9# Make the `zig version` number consistent.
10# This will affect the cmake command below.
11git config core.abbrev 9
12
139echo "building stage3-release with zig version $($OLD_ZIG version)"
1410
1511export CC="$OLD_ZIG cc -target $TARGET -mcpu=$MCPU"