Skip to content

Commit 29ce456

Browse files
committed
feat(ci): skip installing package docs
1 parent 20760ce commit 29ce456

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,17 @@ jobs:
2828
- name: Run tests
2929
run: zig build test --summary all
3030

31+
# Skip installing package docs to avoid wasting time when installing valgrind
32+
# See: https://github.com/actions/runner-images/issues/10977#issuecomment-2810713336
33+
- name: Skip installing package docs
34+
if: runner.os == 'Linux'
35+
run: |
36+
sudo tee /etc/dpkg/dpkg.cfg.d/01_nodoc > /dev/null << 'EOF'
37+
path-exclude /usr/share/doc/*
38+
path-exclude /usr/share/man/*
39+
path-exclude /usr/share/info/*
40+
EOF
41+
3142
- name: Run valgrind tests
3243
if: runner.os == 'Linux'
3344
run: |

0 commit comments

Comments
 (0)