Skip to content

Commit e16fb69

Browse files
nicohrubeccodex
andcommitted
ci: diagnose WebKit child process requirements
Co-Authored-By: OpenAI Codex <codex@openai.com>
1 parent 0903eb6 commit e16fb69

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎.github/workflows/benchmark-browser-system-deps.yml‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,20 @@ jobs:
113113
apt-get --simulate install --no-install-recommends "${webkit_packages[@]}"
114114
sudo apt-get install -y --no-install-recommends "${webkit_packages[@]}"
115115
116+
- name: Inspect WebKit child process libraries
117+
working-directory: dev-packages/browser-integration-tests
118+
run: |
119+
webkit_root=$(dirname "$(node -p "require('@playwright/test').webkit.executablePath()")")
120+
export LD_LIBRARY_PATH="$webkit_root/minibrowser-wpe/lib:$webkit_root/minibrowser-wpe/sys/lib"
121+
for webkit_binary in "$webkit_root/minibrowser-wpe/bin/"*; do
122+
echo "$webkit_binary"
123+
ldd "$webkit_binary" || true
124+
done
125+
116126
- name: Check browser launch without system dependencies
117127
working-directory: dev-packages/browser-integration-tests
128+
env:
129+
DEBUG: pw:browser
118130
run: |
119131
node <<'JS'
120132
const browserType = require('@playwright/test')[process.env.PLAYWRIGHT_BROWSER];

0 commit comments

Comments
 (0)