Skip to content

Commit

Permalink
Install compilers in conda
Browse files Browse the repository at this point in the history
  • Loading branch information
avalentino committed Nov 3, 2024
1 parent 71c7805 commit bcaef45
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,16 @@ jobs:
auto-update-conda: true
channels: conda-forge
channel-priority: strict
- name: Install compilers
if: runner.os != 'Linux'
run: |
conda install c-compiler cxx-compiler
- name: Install dependencies
run: |
# Keep in sync with
# "Prerequisites" in User's Guide,
# ``build-system.requires`` in ``pyproject.toml``.
conda install -q setuptools pip wheel python-build packaging numpy cython bzip2 hdf5 lzo
conda install -q bzip2 hdf5 lzo zlib pip
python -m pip install --require-hashes -r requirements.txt
python -m pip install --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple '${{ matrix.numpy }}'
- name: Get source distribution
Expand Down Expand Up @@ -140,11 +144,15 @@ jobs:
auto-update-conda: true
channels: conda-forge
channel-priority: strict
- name: Install compilers
if: runner.os != 'Linux'
run: |
conda install c-compiler cxx-compiler
- name: Install dependencies
run: |
# Keep in sync with "Prerequisites" in User's Guide,
# ``build-system.requires`` in ``pyproject.toml``.
conda install setuptools pip wheel python-build packaging py-cpuinfo "numpy>=2" cython numexpr bzip2 hdf5 lzo 'typing_extensions>=4.4.0' c-blosc2
conda install bzip2 hdf5 lzo zlib blosc c-blosc2 pip setuptools wheel packaging py-cpuinfo "numpy>=2" cython numexpr 'typing_extensions>=4.4.0'
- name: Get source distrubtion
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit bcaef45

Please sign in to comment.