Skip to content

Commit

Permalink
Trying with action conda-incubator
Browse files Browse the repository at this point in the history
  • Loading branch information
phattso committed Jun 5, 2024
1 parent f2abfd6 commit dc21d11
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,20 @@ jobs:
${{ matrix.os }}-${{ matrix.BUILD_TYPE }}-${{ matrix.COMPILER }}-ccache

- name: Setup Conda Environment
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
$CONDA/bin/conda config --set channel_priority strict
$CONDA/bin/conda env update --file ${{ github.workspace }}/.github/workflows/conda/macos_env.yml
$CONDA/bin/conda init bash
uses: conda-incubator/setup-miniconda@v2
with:
miniforge-variant: Mambaforge
channels: conda-forge,defaults
channel-priority: true
activate-environment: riscv_perf_model
environment-file: .github/workflows/conda/macos_env.yml

# - name: Setup Conda Environment
# run: |
# # $CONDA is an environment variable pointing to the root of the miniconda directory
# $CONDA/bin/conda config --set channel_priority strict
# $CONDA/bin/conda env update --file ${{ github.workspace }}/.github/workflows/conda/macos_env.yml
# $CONDA/bin/conda init bash

# Build
- name: Build & Regress
Expand Down

0 comments on commit dc21d11

Please sign in to comment.