Skip to content

Commit

Permalink
ci: Add cgal install to CI
Browse files Browse the repository at this point in the history
* Use package managers to install libcgal-dev (Linux) and cgal (macOS)
  in CI jobs.
  • Loading branch information
matthewfeickert committed Sep 15, 2024
1 parent 813b54c commit 8518a1e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ task:
gcc \
g++ \
libboost-dev \
libcgal-dev \
libmpfr-dev \
libgmp-dev \
swig \
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ jobs:
- name: Install compiler tools on macOS
if: runner.os == 'macOS'
run: |
brew install make automake swig gmp mpfr boost
brew install make automake swig gmp mpfr boost cgal
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
- name: Install extra deps on Linux
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libboost-dev libmpfr-dev swig autoconf libtool
run: |
sudo apt-get update
sudo apt-get install -y libboost-dev libcgal-dev libmpfr-dev swig autoconf libtool
- name: Install package
run: |
Expand Down Expand Up @@ -86,7 +88,7 @@ jobs:
- name: Install compiler tools on macOS
if: runner.os == 'macOS'
run: |
brew install make automake swig mpfr boost
brew install make automake swig mpfr boost cgal
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
- name: Clone gmp
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Install compiler tools on macOS
if: runner.os == 'macOS'
run: |
brew install make automake swig mpfr boost
brew install make automake swig mpfr boost cgal
export PATH="/usr/local/opt/make/libexec/gnubin:$PATH"
- name: Clone gmp
Expand Down Expand Up @@ -112,7 +112,9 @@ jobs:

- name: Install extra deps on Linux
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libboost-dev swig autoconf libtool
run: |
sudo apt-get update
sudo apt-get install -y libboost-dev libcgal-dev swig autoconf libtool
- name: test sdist
run: python -m pip install dist/*.tar.gz
Expand Down

0 comments on commit 8518a1e

Please sign in to comment.