@@ -26,38 +26,36 @@ jobs:
26
26
with :
27
27
fetch-depth : 0
28
28
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-[email protected]
39
39
with :
40
- miniconda-version : " latest"
41
- auto-update-conda : true
42
40
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 }}
45
43
46
44
- name : Install Windows Conda Packages
47
45
if : contains(matrix.os, 'windows')
48
46
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
50
48
51
49
- name : Install Linux / macOS Conda Packages
52
50
if : contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
53
51
shell : bash -e -l {0}
54
- run : conda install bison=3.4 nodejs=18
52
+ run : micromamba install bison=3.4 nodejs=18
55
53
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
61
59
62
60
- name : Setup Platform (Linux)
63
61
if : contains(matrix.os, 'ubuntu')
87
85
if : contains(matrix.os, 'windows')
88
86
shell : cmd
89
87
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
93
91
set LFORTRAN_CMAKE_GENERATOR=Ninja
94
92
set WIN=1
95
93
set MACOS=0
0 commit comments