workaround for zig issue 21815

This commit is contained in:
Emil Lerch 2024-10-26 18:33:30 -07:00
parent 0adebe10da
commit 370011eb1e
Signed by: lobo
GPG Key ID: A7B62D657EF764F8
2 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,11 @@ env:
PKG_PREFIX: nominated-zig PKG_PREFIX: nominated-zig
jobs: jobs:
build-zig-nominated-mach-latest: build-zig-nominated-mach-latest:
container:
# We need CAP_SYS_PTRACE for stack traces due to a regression in 0.14.0
# TODO: Remove this after https://github.com/ziglang/zig/issues/21815 is
# addressed
options: --cap-add CAP_SYS_PTRACE
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Need to use the default container with node and all that, so we can # Need to use the default container with node and all that, so we can
# use JS-based actions like actions/checkout@v3... # use JS-based actions like actions/checkout@v3...

View File

@ -10,6 +10,11 @@ env:
PKG_PREFIX: nightly-zig PKG_PREFIX: nightly-zig
jobs: jobs:
build-zig-nightly: build-zig-nightly:
container:
# We need CAP_SYS_PTRACE for stack traces due to a regression in 0.14.0
# TODO: Remove this after https://github.com/ziglang/zig/issues/21815 is
# addressed
options: --cap-add CAP_SYS_PTRACE
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Need to use the default container with node and all that, so we can # Need to use the default container with node and all that, so we can
# use JS-based actions like actions/checkout@v3... # use JS-based actions like actions/checkout@v3...