Skip to content

Commit

Permalink
fix conda for M1
Browse files Browse the repository at this point in the history
  • Loading branch information
kafitzgerald committed Feb 1, 2024
1 parent 96f061a commit 0b6891a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,21 @@ jobs:
uses: actions/checkout@v3
with:
token: ${{ github.token }}
- name: Conda setup
- name: Conda setup
uses: conda-incubator/setup-miniconda@v2
if: matrix.os != 'macos-14'
with:
activate-environment: wrf_python_build
python-version: ${{ matrix.python-version }}
channels: conda-forge
- name: Conda setup (macOS M1)
uses: conda-incubator/setup-miniconda@v2
if: matrix.os == 'macos-14'
with:
installer-url: https://github.com/conda-forge/miniforge/releases/download/23.11.0-0/Mambaforge-23.11.0-0-MacOSX-arm64.sh
activate-environment: wrf_python_build
python-version: ${{ matrix.python-version }}
channels: conda-forge
- name: Conda install (macOS - Intel)
if: matrix.os == 'macos-latest'
run: |
Expand Down

0 comments on commit 0b6891a

Please sign in to comment.