Skip to content

Commit

Permalink
Ubuntu and MacOs should be able to use the same Conda env yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kathlenemagnus committed May 31, 2024
1 parent da711eb commit 936dd41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 160 deletions.
158 changes: 0 additions & 158 deletions .github/workflows/conda/macos_env.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Cache conda deps
uses: actions/cache@v3
with:
key: ${{ matrix.os }}-${{ matrix.BUILD_TYPE }}-${{ matrix.COMPILER }}-conda-${{ hashFiles('.github/workflows/conda/macos_env.yml') }}
key: ${{ matrix.os }}-${{ matrix.BUILD_TYPE }}-${{ matrix.COMPILER }}-conda-${{ hashFiles('conda/environment.yml') }}
path: /usr/share/miniconda/envs/riscv_perf_model # Default path for conda

# Setup CCache to cache builds
Expand All @@ -66,7 +66,7 @@ jobs:
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 env update --file ${{ github.workspace }}/conda/environment.yml
$CONDA/bin/conda init bash
# Build
Expand Down

0 comments on commit 936dd41

Please sign in to comment.