Skip to content

Commit 4e6ab1b

Browse files
committed
run test with gdb
1 parent 9ad5b38 commit 4e6ab1b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
run: |
8383
sudo apt-get update
8484
sudo apt-get install cmake libxrandr-dev libxinerama-dev libxcursor-dev mesa-common-dev libx11-xcb-dev pkg-config nodejs npm mesa-vulkan-drivers libvulkan1
85+
sudo apt-get install -y gdb
8586
cmake --version
8687
gcc --version
8788
@@ -100,10 +101,10 @@ jobs:
100101
101102
- name: Test
102103
shell: bash
104+
if: startsWith(matrix.config.os, 'Ubuntu')
103105
env:
104106
WEBGPU_USE_CI_AVAILABLE_RENDERER: "1"
105-
run: |
106-
npm test
107+
run: gdb -return-child-result -batch -ex "run" -ex "thread apply all bt" --args node test/test.js
107108

108109
- name: Upload Artifact ⬆️
109110
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)