Skip to content

Commit 9a7a30d

Browse files
author
peng.li24
committed
[fix] CI: install shapely via pip for version detection
- Add python3-pip and pip install shapely to CI dependencies - Merge Configure and Build steps into single run block - Use --break-system-packages for CI environment compatibility
1 parent 230a383 commit 9a7a30d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,14 @@ jobs:
1717
- name: Install dependencies
1818
run: |
1919
sudo apt-get update
20-
sudo apt-get install -y libgeos-dev
20+
sudo apt-get install -y libgeos-dev python3-pip
21+
python3 -m pip install --break-system-packages shapely
2122
22-
- name: Configure
23+
- name: Configure and build .deb
2324
run: |
2425
mkdir build && cd build
2526
cmake .. -DCMAKE_BUILD_TYPE=Release
26-
27-
- name: Build .deb
28-
run: make -C build deb
27+
make deb
2928
3029
# ---- Release: build .deb and publish on tag -------------------------------
3130
release:
@@ -38,7 +37,8 @@ jobs:
3837
- name: Install dependencies
3938
run: |
4039
sudo apt-get update
41-
sudo apt-get install -y libgeos-dev
40+
sudo apt-get install -y libgeos-dev python3-pip
41+
python3 -m pip install --break-system-packages shapely
4242
4343
- name: Build .deb
4444
run: |

0 commit comments

Comments
 (0)