Skip to content

Commit 8b42fcd

Browse files
committed
enable pycddlib3
1 parent eade809 commit 8b42fcd

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on: [push, pull_request, workflow_dispatch]
66
jobs:
77
indent:
88
name: indent
9-
runs-on: [ubuntu-20.04]
9+
runs-on: [ubuntu-24.04]
1010

1111
strategy:
1212
matrix:
@@ -34,7 +34,7 @@ jobs:
3434
3535
linux:
3636
name: test
37-
runs-on: [ubuntu-20.04]
37+
runs-on: [ubuntu-24.04]
3838

3939
strategy:
4040
matrix:
@@ -48,14 +48,16 @@ jobs:
4848
python-version: ${{ matrix.python-versions }}
4949
- name: setup
5050
run: |
51-
# pycddlib requires libgmp3-dev
51+
# pycddlib 3.0.0 requires libcdd-dev, libgmp-dev, python3-dev
5252
sudo apt update && sudo apt install --yes \
5353
numdiff \
54-
libgmp3-dev \
54+
libcdd-dev \
55+
libgmp-dev \
56+
python3-dev \
5557
texlive \
5658
texlive-latex-extra
5759
python -m pip install --upgrade pip
58-
pip install pycddlib==2.1.7 # this is optional
60+
pip install pycddlib # this is optional
5961
pip install autograd # this is optional
6062
python --version
6163
- name: test

test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ echo ""
3030

3131
# Quietly install optional modules after burnman
3232
echo "Installing optional cvxpy, pycddlib, autograd and jupyter modules ..."
33-
$PYTHON -m pip install -q cvxpy pycddlib==2.1.7 autograd jupyter
33+
$PYTHON -m pip install -q cvxpy pycddlib autograd jupyter
3434
echo ""
3535

3636
function testit {

0 commit comments

Comments
 (0)