aboutsummaryrefslogtreecommitdiff
path: root/ci/srht/freebsd_script
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-10-22 20:29:24 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-10-22 20:29:24 -0700
commitf82a82f889bb145fe83eb9cd366f920f10f6dcec (patch)
treeb28f0638e0115df6adbb1b402687211d5c37c4da /ci/srht/freebsd_script
parent54c8861bc4b6aa08a2252943c93317d91ef0bfa6 (diff)
downloadzig-f82a82f889bb145fe83eb9cd366f920f10f6dcec.tar.gz
zig-f82a82f889bb145fe83eb9cd366f920f10f6dcec.zip
Revert "fix CI failures with commit "ci: make directory structure in releases consistent""
This reverts commit 54c8861bc4b6aa08a2252943c93317d91ef0bfa6. This caused CI failure.
Diffstat (limited to 'ci/srht/freebsd_script')
-rwxr-xr-xci/srht/freebsd_script18
1 files changed, 2 insertions, 16 deletions
diff --git a/ci/srht/freebsd_script b/ci/srht/freebsd_script
index b70a63f9cb..8cdb10c20c 100755
--- a/ci/srht/freebsd_script
+++ b/ci/srht/freebsd_script
@@ -62,26 +62,12 @@ stage3/bin/zig build test docs \
-Dskip-stage1 \
-Dskip-non-native
-# Produce the experimental std lib documentation.
-mkdir -p "stage3/doc/std"
-stage3/bin/zig test "$(pwd)/../lib/std/std.zig" \
- --zig-lib-dir "$(pwd)/../lib" \
- -femit-docs="$(pwd)/stage3/doc/std/" \
- -fno-emit-bin
-
if [ -f ~/.s3cfg ]; then
- # Remove the unnecessary bin dir in stage3/bin/zig
+ mv ../LICENSE stage3/
+ mv ../zig-cache/langref.html stage3/
mv stage3/bin/zig stage3/
rmdir stage3/bin
- # Remove the unnecessary zig dir in stage3/lib/zig/std/std.zig
- mv stage3/lib/zig stage3/lib2
- rmdir stage3/lib
- mv stage3/lib2 stage3/lib
-
- mv ../LICENSE stage3/
- mv ../zig-cache/langref.html stage3/doc/
-
GITBRANCH=$(basename $GITHUB_REF)
VERSION=$(stage3/zig version)
DIRNAME="zig-freebsd-x86_64-$VERSION"