Skip to content

Commit 4d51f04

Browse files
committed
Fix musl verify: allow io_uring under Docker seccomp
1 parent e9238d9 commit 4d51f04

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,13 @@ jobs:
275275
puts "verify_linux ${{ matrix.platform }}/ruby${{ matrix.ruby }}: OK"
276276
'
277277
278+
# Docker's default seccomp profile blocks io_uring_setup, which libxev
279+
# uses on Linux. seccomp=unconfined matches what a real Alpine host
280+
# would expose; this verify is standing in for one.
278281
- name: Smoke test (musl, Alpine container)
279282
if: matrix.alpine != ''
280283
run: |
281-
docker run --rm -v "$PWD:/work" -w /work ruby:${{ matrix.alpine }}-alpine sh -c '
284+
docker run --rm --security-opt seccomp=unconfined -v "$PWD:/work" -w /work ruby:${{ matrix.alpine }}-alpine sh -c '
282285
gem install pkg/carbon_fiber-*-${{ matrix.platform }}.gem
283286
ruby -e "
284287
require \"carbon_fiber\"

0 commit comments

Comments
 (0)