From 0b6891a001e521724c40ac53e9ab8fbb6d76ab57 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Thu, 1 Feb 2024 15:26:52 -0700 Subject: [PATCH] fix conda for M1 --- .github/workflows/ci.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f44cc14..f220d13 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: |