diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 85a55fe20c..ac21dcc1a1 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -62,6 +62,16 @@ jobs: - name: Checkout RMG-Py uses: actions/checkout@v4 + # Step to create a custom condarc.yml before setting up conda + - name: Create custom conda config file + run: | + RUNNER_CWD=$(pwd) + echo "channels:" > $RUNNER_CWD/condarc.yml + echo " - conda-forge" >> $RUNNER_CWD/condarc.yml + echo " - rmg" >> $RUNNER_CWD/condarc.yml + echo " - cantera" >> $RUNNER_CWD/condarc.yml + echo "show_channel_urls: true" >> $RUNNER_CWD/condarc.yml + # configures the mamba environment manager and builds the environment - name: Setup Miniforge Python 3.7 uses: conda-incubator/setup-miniconda@v3 @@ -70,6 +80,7 @@ jobs: miniforge-variant: Miniforge3 miniforge-version: latest python-version: 3.7 + condarc-file: condarc.yml activate-environment: rmg_env use-mamba: true @@ -112,6 +123,16 @@ jobs: - name: Checkout RMG-Py uses: actions/checkout@v4 + # Step to create a custom condarc.yml before setting up conda + - name: Create custom condarc.yml + run: | + RUNNER_CWD=$(pwd) + echo "channels:" > $RUNNER_CWD/condarc.yml + echo " - conda-forge" >> $RUNNER_CWD/condarc.yml + echo " - rmg" >> $RUNNER_CWD/condarc.yml + echo " - cantera" >> $RUNNER_CWD/condarc.yml + echo "show_channel_urls: true" >> $RUNNER_CWD/condarc.yml + # configures the mamba environment manager and builds the environment - name: Setup Miniforge Python 3.7 uses: conda-incubator/setup-miniconda@v3 @@ -120,6 +141,7 @@ jobs: miniforge-variant: Miniforge3 miniforge-version: latest python-version: 3.7 + condarc-file: condarc.yml activate-environment: rmg_env use-mamba: true diff --git a/environment.yml b/environment.yml index 8f12b696ae..da15b2dfe3 100644 --- a/environment.yml +++ b/environment.yml @@ -101,8 +101,8 @@ dependencies: # Note that _some other_ dep. in this list requires diffeqpy in its recipe # which will cause it to be downloaded from the rmg conda channel -# conda mutex metapackage - - nomkl +# configure packages to use OpenBLAS instead of Intel MKL + - blas=*=openblas # additional packages that are required, but not specified here (and why) # pydqed, pydas, mopac, and likely others require a fortran compiler (specifically gfortran)