@@ -26,38 +26,36 @@ jobs:
2626 with :
2727 fetch-depth : 0
2828
29- - name : Cache conda
30- uses : actions/cache@v3
31- env :
32- CACHE_NUMBER : 0
33- with :
34- path : ~/conda_pkgs_dir
35- key :
36- ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('ci/environment.yml') }}
37-
38- - uses : conda-incubator /setup-miniconda@v2
29+ # - name: Cache conda
30+ # uses: actions/cache@v3
31+ # env:
32+ # CACHE_NUMBER: 0
33+ # with:
34+ # path: ~/conda_pkgs_dir
35+ # key:
36+ # ${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('ci/environment.yml') }}
37+
38+ - uses : mamba-org /setup-micromamba@v1.8.0
3939 with :
40- miniconda-version : " latest"
41- auto-update-conda : true
4240 environment-file : ci/environment.yml
43- python-version : ${{ matrix.python-version }}
44- use-only-tar-bz2 : true
41+ create-args : >-
42+ python=${{ matrix.python-version }}
4543
4644 - name : Install Windows Conda Packages
4745 if : contains(matrix.os, 'windows')
4846 shell : bash -e -l {0}
49- run : conda install m2-bison=3.0.4 cmake=3.21.1
47+ run : micromamba install m2-bison=3.0.4 m2-filesystem cmake=3.21.1
5048
5149 - name : Install Linux / macOS Conda Packages
5250 if : contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
5351 shell : bash -e -l {0}
54- run : conda install bison=3.4 nodejs=18
52+ run : micromamba install bison=3.4 nodejs=18
5553
56- - name : Conda info
57- shell : bash -e -l {0}
58- run : |
59- conda info
60- conda list
54+ # - name: Conda info
55+ # shell: bash -e -l {0}
56+ # run: |
57+ # conda info
58+ # conda list
6159
6260 - name : Setup Platform (Linux)
6361 if : contains(matrix.os, 'ubuntu')
8785 if : contains(matrix.os, 'windows')
8886 shell : cmd
8987 run : |
90- set CONDA_INSTALL_LOCN =C:\\Miniconda3
91- call %CONDA_INSTALL_LOCN %\Scripts\activate.bat
92- call conda activate test
88+ set MAMBA_INSTALL_LOCN =C:\\Users\runneradmin\micromamba
89+ call %MAMBA_INSTALL_LOCN %\Scripts\activate.bat
90+ call micromamba activate test
9391 set LFORTRAN_CMAKE_GENERATOR=Ninja
9492 set WIN=1
9593 set MACOS=0
0 commit comments