Skip to content

Commit

Permalink
The GitHub workflow to build and upload conda packages was modified: …
Browse files Browse the repository at this point in the history
…Mamba was disabled and the modflowpy/install-gfortran-action action was added
  • Loading branch information
dprada committed Feb 6, 2023
1 parent 1389b0c commit 646214f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build_and_upload_conda_packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,15 @@ jobs:
run: |
uname -a
- name: Symlink gfortran (macOS)
if: runner.os == 'macOS'
run: |
sudo ln -s /usr/local/bin/gfortran-10 /usr/local/bin/gfortran
sudo mkdir /usr/local/gfortran
sudo ln -s /usr/local/Cellar/gcc@10/*/lib/gcc/10 /usr/local/gfortran/lib
- name: Setup GNU Fortran
uses: modflowpy/install-gfortran-action@v1 # https://github.com/modflowpy/install-gfortran-action

#- name: Symlink gfortran (macOS)
# if: runner.os == 'macOS'
# run: |
# sudo ln -s /usr/local/bin/gfortran-10 /usr/local/bin/gfortran
# sudo mkdir /usr/local/gfortran
# sudo ln -s /usr/local/Cellar/gcc@10/*/lib/gcc/10 /usr/local/gfortran/lib

- name: Checking gfortran version
run: |
Expand All @@ -44,7 +47,7 @@ jobs:
python-version: ${{ matrix.python-version }}
environment-file: devtools/conda-envs/build_env.yaml # Path to the build conda environment
mamba-version: "*"
use-mamba: true
use-mamba: false
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true
Expand Down

0 comments on commit 646214f

Please sign in to comment.