Skip to content

Commit e0c06d1

Browse files
ci: Add cgal install to CI
* Use package managers to install libcgal-dev (Linux) and cgal (macOS) in CI jobs.
1 parent 7d4791c commit e0c06d1

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

Diff for: .cirrus.yml

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ task:
2020
gcc \
2121
g++ \
2222
libboost-dev \
23+
libcgal-dev \
2324
libmpfr-dev \
2425
libgmp-dev \
2526
swig \

Diff for: .github/workflows/ci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ jobs:
4848
- name: Install compiler tools on macOS
4949
if: runner.os == 'macOS'
5050
run: |
51-
brew install make automake swig gmp mpfr boost
51+
brew install make automake swig gmp mpfr boost cgal
5252
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
5353
5454
- name: Install extra deps on Linux
5555
if: runner.os == 'Linux'
56-
run: sudo apt-get update && sudo apt-get install -y libboost-dev libmpfr-dev swig autoconf libtool
56+
run: |
57+
sudo apt-get update
58+
sudo apt-get install -y libboost-dev libcgal-dev libmpfr-dev swig autoconf libtool
5759
5860
- name: Install package
5961
run: |
@@ -89,7 +91,7 @@ jobs:
8991
- name: Install compiler tools on macOS
9092
if: runner.os == 'macOS'
9193
run: |
92-
brew install make automake swig mpfr boost
94+
brew install make automake swig mpfr boost cgal
9395
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
9496
9597
- name: Clone gmp

Diff for: .github/workflows/wheels.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
- name: Install compiler tools on macOS
6363
if: runner.os == 'macOS'
6464
run: |
65-
brew install make automake swig mpfr boost
65+
brew install make automake swig mpfr boost cgal
6666
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
6767
6868
- name: Clone gmp
@@ -112,7 +112,9 @@ jobs:
112112

113113
- name: Install extra deps on Linux
114114
if: runner.os == 'Linux'
115-
run: sudo apt-get update && sudo apt-get install -y libboost-dev swig autoconf libtool
115+
run: |
116+
sudo apt-get update
117+
sudo apt-get install -y libboost-dev libcgal-dev swig autoconf libtool
116118
117119
- name: test sdist
118120
run: python -m pip install dist/*.tar.gz

0 commit comments

Comments
 (0)