Skip to content

Commit

Permalink
WIP CI meson ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
elcorto committed Jul 19, 2024
1 parent 1942cf6 commit 233da2d
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ jobs:
matrix:
python-version:
- "3.8"
##- "3.9"
##- "3.10"
- "3.9"
- "3.10"
- "3.11"
fail-fast: true
- "3.12"
fail-fast: false

steps:
- name: checkout
Expand All @@ -39,13 +40,16 @@ jobs:
run: |
sudo apt update
# For Fortran extensions
# For Fortran extensions. ninja is needed by meson.
sudo apt install -y --no-install-recommends \
python3-dev gfortran liblapack-dev meson
python3-dev gfortran liblapack-dev ninja-build
sudo apt install -y --no-install-recommends \
lammps quantum-espresso
# The meson Ubuntu package is outdated, so install via pip.
sudo pip install meson
pip install -e .
pip install -r requirements_optional.txt
pip install -r requirements_test.txt
Expand Down Expand Up @@ -74,14 +78,15 @@ jobs:
run: |
sudo apt update
# For Fortran extensions
# For Fortran extensions. ninja is needed by meson.
sudo apt install -y --no-install-recommends \
python3-dev gfortran liblapack-dev
python3-dev gfortran liblapack-dev ninja-build
# sphinx related
pip install -r requirements_doc.txt
# sphinx-autodoc needs target package to be installed
sudo pip install meson
pip install -e .
- name: build
Expand Down

0 comments on commit 233da2d

Please sign in to comment.