Skip to content

Commit

Permalink
WIP: fixing package installation issues
Browse files Browse the repository at this point in the history
  • Loading branch information
speth committed Nov 18, 2022
1 parent 050f280 commit 4124624
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Expand Up @@ -130,15 +130,18 @@ jobs:
run: |
brew install python@${{ matrix.python-version }}
brew link --force --overwrite python@${{ matrix.python-version }}
brew install scons
- name: Upgrade pip
run: $PYTHON_CMD -m pip install -U pip 'setuptools>=47.0.0,<48' wheel
- name: Install Python dependencies
# h5py is optional; may fail if no wheel is present for a given OS/Python version
# SCons requires `--user` due to installing man pages to the wrong (unwritable) location
run: |
$PYTHON_CMD -m pip install ruamel.yaml numpy cython pandas pytest pytest-github-actions-annotate-failures
$PYTHON_CMD -m pip install h5py || true
$PYTHON_CMD -m pip install --user scons
- name: Install Python dependencies for GH Python
if: matrix.python-version == '3.11'
run:
$PYTHON_CMD -m pip install scons
- name: Build Cantera
run: scons build env_vars=all -j3 debug=n --debug=time
- name: Upload shared library
Expand Down

0 comments on commit 4124624

Please sign in to comment.