authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-10-25 04:26:22-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-10-25 04:26:22-04:00
log952aa7a9c1033382880d5478c5f96506882ba4b5
treeec223aac2e2ee43bd6224077cd5ec5152a3efa55
parentc5e26b8673cb7a62b71398820aa41549189b49d0
signaturelock-open Commit is signed but in an unrecognized format.

ci: perform git config inside zig git repo dir


2 files changed, 7 insertions(+), 5 deletions(-)

ci/azure/macos_script+2-1
......@@ -67,11 +67,12 @@ else
6767 s3cmd put -P --add-header="cache-control: public, max-age=31536000, immutable" "$CACHE_BASENAME.tar.xz" "s3://ziglang.org/builds/$CACHE_BASENAME.tar.xz"
6868fi
6969
70cd $ZIGDIR
71
7072# Make the `zig version` number consistent.
7173# This will affect the cmake command below.
7274git config core.abbrev 9
7375
74cd $ZIGDIR
7576mkdir build
7677cd build
7778cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=$(pwd)/release -DZIG_STATIC=ON
ci/srht/freebsd_script+5-4
......@@ -8,15 +8,16 @@ CACHE_BASENAME="llvm+clang-9.0.0-freebsd-x86_64-release"
88PREFIX="$HOME/$CACHE_BASENAME"
99JOBS="-j$(sysctl -n hw.ncpu)"
1010
11# Make the `zig version` number consistent.
12# This will affect the cmake command below.
13git config core.abbrev 9
14
1511cd $HOME
1612wget -nv "https://ziglang.org/builds/$CACHE_BASENAME.tar.xz"
1713tar xf "$CACHE_BASENAME.tar.xz"
1814
1915cd $ZIGDIR
16
17# Make the `zig version` number consistent.
18# This will affect the cmake command below.
19git config core.abbrev 9
20
2021mkdir build
2122cd build
2223cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX "-DCMAKE_INSTALL_PREFIX=$(pwd)/release" -DZIG_STATIC=ON