authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-09-14 11:10:38-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-09-14 11:10:38-07:00
log40cb712d13aff4bfe83256858ad6b18d82e70211
tree55b58675fff6f9b88e5f68c87a5b246bdb9efd83
parent778bb4bc9c9ceb62426c0ed48c079142b713b910

disable sourcehut freebsd CI checks

Drew won't give us enough RAM for stage1 to build stage2. We'll still have freebsd builds available on releases but we're going to lose freebsd CI testing for master branch builds until we fully switch over to stage2 (and have lower memory usage). Let me know if anyone wants to run a SourceHut instance and give zig access to run on slightly more powerful machines. We need about 8 GiB RAM to run the CI test suite for now. After we're fully self hosted I expect to re-enable this.

2 files changed, 6 insertions(+), 14 deletions(-)

.builds/freebsd.yml deleted-8
...@@ -1,8 +0,0 @@
1image: freebsd/latest
2secrets:
3 - 6c60aaee-92e7-4e7d-812c-114817689b4d
4 - dd0bd962-7664-4d3e-b0f3-41c9ee96b8b8
5sources:
6 - https://github.com/ziglang/zig
7tasks:
8 - build: cd zig && ./ci/srht/freebsd_script
ci/srht/update_download_page+6-6
...@@ -13,7 +13,7 @@ AARCH64_LINUX_JSON_URL="https://ziglang.org/builds/aarch64-linux-$VERSION.json"...@@ -13,7 +13,7 @@ AARCH64_LINUX_JSON_URL="https://ziglang.org/builds/aarch64-linux-$VERSION.json"
13X86_64_LINUX_JSON_URL="https://ziglang.org/builds/x86_64-linux-$VERSION.json"13X86_64_LINUX_JSON_URL="https://ziglang.org/builds/x86_64-linux-$VERSION.json"
14X86_64_WINDOWS_JSON_URL="https://ziglang.org/builds/x86_64-windows-$VERSION.json"14X86_64_WINDOWS_JSON_URL="https://ziglang.org/builds/x86_64-windows-$VERSION.json"
15X86_64_MACOS_JSON_URL="https://ziglang.org/builds/x86_64-macos-$VERSION.json"15X86_64_MACOS_JSON_URL="https://ziglang.org/builds/x86_64-macos-$VERSION.json"
16X86_64_FREEBSD_JSON_URL="https://ziglang.org/builds/x86_64-freebsd-$VERSION.json"16#X86_64_FREEBSD_JSON_URL="https://ziglang.org/builds/x86_64-freebsd-$VERSION.json"
1717
18# If any of these fail, it's not really this job failing; rather we have detected18# If any of these fail, it's not really this job failing; rather we have detected
19# that this job will be called again later when other jobs have completed.19# that this job will be called again later when other jobs have completed.
...@@ -21,7 +21,7 @@ curl --fail -I "$AARCH64_LINUX_JSON_URL" >/dev/null || exit 0...@@ -21,7 +21,7 @@ curl --fail -I "$AARCH64_LINUX_JSON_URL" >/dev/null || exit 0
21curl --fail -I "$X86_64_LINUX_JSON_URL" >/dev/null || exit 021curl --fail -I "$X86_64_LINUX_JSON_URL" >/dev/null || exit 0
22curl --fail -I "$X86_64_WINDOWS_JSON_URL" >/dev/null || exit 022curl --fail -I "$X86_64_WINDOWS_JSON_URL" >/dev/null || exit 0
23curl --fail -I "$X86_64_MACOS_JSON_URL" >/dev/null || exit 023curl --fail -I "$X86_64_MACOS_JSON_URL" >/dev/null || exit 0
24curl --fail -I "$X86_64_FREEBSD_JSON_URL" >/dev/null || exit 024#curl --fail -I "$X86_64_FREEBSD_JSON_URL" >/dev/null || exit 0
2525
26# Without --user, this gave me:26# Without --user, this gave me:
27# ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied27# ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied
...@@ -63,10 +63,10 @@ export AARCH64_LINUX_TARBALL="$(echo "$AARCH64_LINUX_JSON" | jq .tarball -r)"...@@ -63,10 +63,10 @@ export AARCH64_LINUX_TARBALL="$(echo "$AARCH64_LINUX_JSON" | jq .tarball -r)"
63export AARCH64_LINUX_BYTESIZE="$(echo "$AARCH64_LINUX_JSON" | jq .size -r)"63export AARCH64_LINUX_BYTESIZE="$(echo "$AARCH64_LINUX_JSON" | jq .size -r)"
64export AARCH64_LINUX_SHASUM="$(echo "$AARCH64_LINUX_JSON" | jq .shasum -r)"64export AARCH64_LINUX_SHASUM="$(echo "$AARCH64_LINUX_JSON" | jq .shasum -r)"
6565
66X86_64_FREEBSD_JSON=$(curl --fail "$X86_64_FREEBSD_JSON_URL" || exit 1)66#X86_64_FREEBSD_JSON=$(curl --fail "$X86_64_FREEBSD_JSON_URL" || exit 1)
67export X86_64_FREEBSD_TARBALL="$(echo "$X86_64_FREEBSD_JSON" | jq .tarball -r)"67#export X86_64_FREEBSD_TARBALL="$(echo "$X86_64_FREEBSD_JSON" | jq .tarball -r)"
68export X86_64_FREEBSD_BYTESIZE="$(echo "$X86_64_FREEBSD_JSON" | jq .size -r)"68#export X86_64_FREEBSD_BYTESIZE="$(echo "$X86_64_FREEBSD_JSON" | jq .size -r)"
69export X86_64_FREEBSD_SHASUM="$(echo "$X86_64_FREEBSD_JSON" | jq .shasum -r)"69#export X86_64_FREEBSD_SHASUM="$(echo "$X86_64_FREEBSD_JSON" | jq .shasum -r)"
7070
71git clone https://github.com/ziglang/www.ziglang.org --depth 171git clone https://github.com/ziglang/www.ziglang.org --depth 1
72cd www.ziglang.org72cd www.ziglang.org