Skip to content

Commit

Permalink
Run conda init before conda activate
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Jun 3, 2024
1 parent 0afdbdd commit 609dea6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,11 @@ jobs:
output-dir: wheelhouse
env:
CIBW_BEFORE_ALL: |
conda init
conda activate pybamm-dev
export CC=$(conda run -n pybamm-dev which clang)
export CXX=$(conda run -n pybamm-dev which clang++)
export FC=$(conda run -n pybamm-dev which gfortran)
# export CC=$(conda run -n pybamm-dev which clang)
# export CXX=$(conda run -n pybamm-dev which clang++)
# export FC=$(conda run -n pybamm-dev which gfortran)
python -m pip install cmake pipx
python scripts/install_KLU_Sundials.py
CIBW_ARCHS_MACOS: auto
Expand Down

0 comments on commit 609dea6

Please sign in to comment.