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...@@ -67,11 +67,12 @@ else
67 s3cmd put -P --add-header="cache-control: public, max-age=31536000, immutable" "$CACHE_BASENAME.tar.xz" "s3://ziglang.org/builds/$CACHE_BASENAME.tar.xz"67 s3cmd put -P --add-header="cache-control: public, max-age=31536000, immutable" "$CACHE_BASENAME.tar.xz" "s3://ziglang.org/builds/$CACHE_BASENAME.tar.xz"
68fi68fi
6969
70cd $ZIGDIR
71
70# Make the `zig version` number consistent.72# Make the `zig version` number consistent.
71# This will affect the cmake command below.73# This will affect the cmake command below.
72git config core.abbrev 974git config core.abbrev 9
7375
74cd $ZIGDIR
75mkdir build76mkdir build
76cd build77cd build
77cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=$(pwd)/release -DZIG_STATIC=ON78cmake .. -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"...@@ -8,15 +8,16 @@ CACHE_BASENAME="llvm+clang-9.0.0-freebsd-x86_64-release"
8PREFIX="$HOME/$CACHE_BASENAME"8PREFIX="$HOME/$CACHE_BASENAME"
9JOBS="-j$(sysctl -n hw.ncpu)"9JOBS="-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
15cd $HOME11cd $HOME
16wget -nv "https://ziglang.org/builds/$CACHE_BASENAME.tar.xz"12wget -nv "https://ziglang.org/builds/$CACHE_BASENAME.tar.xz"
17tar xf "$CACHE_BASENAME.tar.xz"13tar xf "$CACHE_BASENAME.tar.xz"
1814
19cd $ZIGDIR15cd $ZIGDIR
16
17# Make the `zig version` number consistent.
18# This will affect the cmake command below.
19git config core.abbrev 9
20
20mkdir build21mkdir build
21cd build22cd build
22cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX "-DCMAKE_INSTALL_PREFIX=$(pwd)/release" -DZIG_STATIC=ON23cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$PREFIX "-DCMAKE_INSTALL_PREFIX=$(pwd)/release" -DZIG_STATIC=ON