Skip to content

Commit

Permalink
Update pyci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandrosantanabonilla authored Dec 16, 2024
1 parent c9ba520 commit 4afbd82
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/pyci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,23 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install Conda (if macOS)
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
shell: bash
run: |
mkdir -p ~/miniconda3
curl https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh -o ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm ~/miniconda3/miniconda.sh
echo "CONDA_BASE=$HOME/miniconda3" >> $GITHUB_ENV
echo "CONDA_BIN_DIR=$CONDA_BASE/bin" >> $GITHUB_ENV
echo "$CONDA_BIN_DIR" >> $GITHUB_PATH
brew install gfortran openblas eigen
# Activate base conda environment (Corrected path with 'source')
source $CONDA_BIN_DIR/activate base
- name: Install xtb
run: |
git clone https://github.com/grimme-lab/xtb.git
cd xtb
mkdir build
cd build
cmake -DWITH_PYTHON=ON ..
make -j 2
make install
- name: Setup conda
if: runner.os == 'Linux'
uses: s-weigand/setup-conda@v1
with:
update-conda: true
Expand Down

0 comments on commit 4afbd82

Please sign in to comment.