Skip to content

Commit 6d95092

Browse files
fix CI
1 parent d96d0d5 commit 6d95092

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.github/workflows/CI.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,23 +35,27 @@ jobs:
3535
key:
3636
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('ci/environment.yml') }}
3737

38-
- uses: conda-incubator/setup-miniconda@v2
38+
- uses: mamba-org/setup-micromamba@v1
39+
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
3940
with:
40-
miniconda-version: "latest"
41-
auto-update-conda: true
4241
environment-file: ci/environment.yml
43-
python-version: ${{ matrix.python-version }}
44-
use-only-tar-bz2: true
42+
create-args: >-
43+
python=${{ matrix.python-version }}
44+
bison=3.4
45+
nodejs=18
46+
symengine=0.12.0
47+
sympy=1.11.1
4548
46-
- name: Install Windows Conda Packages
49+
- uses: mamba-org/setup-micromamba@v1
4750
if: contains(matrix.os, 'windows')
48-
shell: bash -e -l {0}
49-
run: conda install m2-bison=3.0.4 cmake=3.21.1
50-
51-
- name: Install Linux / macOS Conda Packages
52-
if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
53-
shell: bash -e -l {0}
54-
run: conda install bison=3.4 nodejs=18
51+
with:
52+
environment-file: ci/environment.yml
53+
create-args: >-
54+
python=${{ matrix.python-version }}
55+
m2-bison=3.0.4
56+
cmake=3.21.1
57+
symengine=0.12.0
58+
sympy=1.11.1
5559
5660
- name: Conda info
5761
shell: bash -e -l {0}

0 commit comments

Comments
 (0)