Skip to content

Commit c50ab04

Browse files
committed
Install glib outside config
1 parent 5538e72 commit c50ab04

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ jobs:
2626
- name: Set up Python ${{ matrix.python-version }}
2727
run: uv python install ${{ matrix.python-version }}
2828

29+
- name: Install system dependencies (Ubuntu)
30+
if: matrix.os == 'ubuntu-latest'
31+
run: |
32+
sudo apt-get update
33+
sudo apt-get install -y pkg-config libglib2.0-dev libzstd-dev
34+
35+
- name: Install system dependencies (macOS)
36+
if: matrix.os == 'macos-latest' || matrix.os == 'macos-14'
37+
run: |
38+
brew install glib pkg-config zstd
39+
2940
- name: Build and test with uv
3041
run: |
3142
uv venv --python ${{ matrix.python-version }}

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
requires = [
33
"scikit-build-core>=0.10",
44
"pybind11",
5-
"cmake>=3.15",
6-
"ninja; platform_system!='Windows'",
75
"setuptools_scm[toml]>=6.2"
86
]
97
build-backend = "scikit_build_core.build"

0 commit comments

Comments
 (0)