Skip to content

Commit

Permalink
enable pycddlib3
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmyhill committed Oct 7, 2024
1 parent eade809 commit 8b42fcd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on: [push, pull_request, workflow_dispatch]
jobs:
indent:
name: indent
runs-on: [ubuntu-20.04]
runs-on: [ubuntu-24.04]

strategy:
matrix:
Expand Down Expand Up @@ -34,7 +34,7 @@ jobs:
linux:
name: test
runs-on: [ubuntu-20.04]
runs-on: [ubuntu-24.04]

strategy:
matrix:
Expand All @@ -48,14 +48,16 @@ jobs:
python-version: ${{ matrix.python-versions }}
- name: setup
run: |
# pycddlib requires libgmp3-dev
# pycddlib 3.0.0 requires libcdd-dev, libgmp-dev, python3-dev
sudo apt update && sudo apt install --yes \
numdiff \
libgmp3-dev \
libcdd-dev \
libgmp-dev \
python3-dev \
texlive \
texlive-latex-extra
python -m pip install --upgrade pip
pip install pycddlib==2.1.7 # this is optional
pip install pycddlib # this is optional
pip install autograd # this is optional
python --version
- name: test
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ echo ""

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

function testit {
Expand Down

0 comments on commit 8b42fcd

Please sign in to comment.