Skip to content

Commit 60ca417

Browse files
committed
Update Workflow to properly handle poppler deps
1 parent 705c2ac commit 60ca417

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/rust.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,13 @@ jobs:
4242

4343
- name: Run Tests
4444
run: cargo test --verbose
45+
46+
- name: Install system dependencies
47+
run: sudo apt-get update && sudo apt-get install -y libglib2.0-dev pkg-config
48+
49+
# Set PKG_CONFIG_PATH if needed for poppler deps
50+
- name: Set PKG_CONFIG_PATH
51+
run: echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV
52+
53+
- name: Build
54+
run: cargo build --verbose

0 commit comments

Comments
 (0)