Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/pyfesom2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,23 @@ jobs:
path: pyfesom2
fetch-depth: 0

- name: Update SSL on MacOS
if: contains(matrix.os, 'macos')
run: |
brew update
brew reinstall openssl
sudo mkdir -p /usr/local/lib
sudo ln -sv /opt/homebrew/opt/openssl/lib/libcrypto.3.dylib /usr/local/lib/

- name: install conda environment
uses: mamba-org/provision-with-micromamba@main #/v12
uses: mamba-org/setup-micromamba@v2
with:
environment-file: main/ci/requirements-py37.yml
environment-name: pyfesom2
cache-env: true
cache-env-key: "${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
cache-environment-key: "${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
init-shell: >-
bash
zsh

# - name: Checkout git commit log
# working-directory: pyfesom2
Expand Down
17 changes: 14 additions & 3 deletions .github/workflows/pyfesom2_onPR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,24 @@ jobs:
path: pyfesom2
fetch-depth: 0

- name: Update SSL on MacOS
if: contains(matrix.os, 'macos')
run: |
brew update
brew reinstall openssl
ls -l /opt/homebrew/opt/openssl/lib/libcrypto.3.dylib
sudo mkdir -p /usr/local/lib
sudo ln -vs /opt/homebrew/opt/openssl/lib/libcrypto.3.dylib /usr/local/lib/

- name: install conda environment
uses: mamba-org/provision-with-micromamba@main #/v12
uses: mamba-org/setup-micromamba@v2
with:
environment-file: main/ci/requirements-py37.yml
environment-name: pyfesom2
cache-env: true
cache-env-key: "${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
cache-envronment-key: "${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
init-shell: >-
bash
zsh

# - name: Checkout git commit log
# working-directory: pyfesom2
Expand Down
Loading