Skip to content

Commit 08b24b8

Browse files
committed
Update github actions
1 parent 05e5f70 commit 08b24b8

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/python-package.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ jobs:
1010
matrix:
1111
os: [ubuntu-latest]
1212
python:
13-
- "3.10"
1413
- "3.11"
1514
- "3.12"
15+
- "3.13"
16+
17+
env:
18+
PKG_CONFIG_PATH: /usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig
1619

1720
steps:
1821
- uses: actions/checkout@v4
@@ -22,9 +25,21 @@ jobs:
2225

2326
- name: Install build dependencies
2427
run: |
28+
sudo apt-get update && \
2529
sudo apt-get install -qy \
2630
gettext \
27-
libgirepository1.0-dev
31+
libcairo2-dev \
32+
gir1.2-girepository-2.0 \
33+
libgirepository1.0-dev \
34+
gir1.2-glib-2.0 libglib2.0-dev python3-gi \
35+
pkg-config
36+
37+
38+
- run: pkg-config --list-all | grep girepository || true
39+
40+
- run: echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig:/usr/share/pkgconfig"
41+
42+
- run: pkg-config --modversion girepository-1.0 || (echo "girepository-1.0 not found" && exit 1)
2843

2944
- run: pip install -U pip
3045
- run: pip install setuptools wheel

0 commit comments

Comments
 (0)