@@ -24,24 +24,33 @@ jobs:
2424 include :
2525 - name : ubu22
2626 os : ubuntu-22.04
27+ micromamba_shell_init : bash
2728 - name : ubu22-analyzers
2829 os : ubuntu-22.04
2930 coverage : true
3031 extra_cmake_flags : -DCMAKE_BUILD_TYPE=Debug
32+ micromamba_shell_init : bash
3133 - name : osx13-x86
3234 os : macos-13
35+ micromamba_shell_init : bash
3336 - name : osx14-arm
3437 os : macos-14
38+ micromamba_shell_init : bash
3539 - name : Windows22
3640 os : windows-2022
41+ micromamba_shell_init : cmd.exe
3742
3843 steps :
39- - uses : actions/checkout@v3
44+ - uses : actions/checkout@v4
45+ with :
46+ fetch-depth : 0
4047
4148 - name : install mamba
42- uses : mamba-org/provision-with -micromamba@main
49+ uses : mamba-org/setup -micromamba@main
4350 with :
4451 environment-file : environment-dev.yml
52+ init-shell : >-
53+ ${{ matrix.micromamba_shell_init }}
4554 environment-name : xeus-cpp
4655
4756 - name : micromamba shell hook
5665 run : |
5766 $HOME/micromamba-bin/micromamba install cxx-compiler -c conda-forge -y
5867
59-
6068 - name : cmake configure
6169 if : ${{ runner.os == 'windows' }}
62- shell : cmd
70+ shell : cmd /C call {0}
6371 run : |
6472 call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-cpp
6573 mkdir -p build
8088
8189 - name : build & install
8290 if : ${{ runner.os == 'windows' }}
83- shell : cmd
91+ shell : cmd /C call {0}
8492 run : |
8593 call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-cpp
8694 cd build
@@ -126,7 +134,7 @@ jobs:
126134
127135 - name : Upload to codecov.io
128136 if : ${{ success() && (matrix.coverage == true) }}
129- uses : codecov/codecov-action@v3
137+ uses : codecov/codecov-action@v4
130138 with :
131139 file : ./coverage.info
132140
@@ -144,14 +152,19 @@ jobs:
144152 fail-fast : false
145153 matrix :
146154 emsdk_ver : ["3.1.45"]
155+ micromamba_shell_init : ["bash"]
147156
148157 steps :
149- - uses : actions/checkout@v3
158+ - uses : actions/checkout@v4
159+ with :
160+ fetch-depth : 0
150161
151- - name : Install mamba
152- uses : mamba-org/provision-with -micromamba@main
162+ - name : install mamba
163+ uses : mamba-org/setup -micromamba@main
153164 with :
154165 environment-file : environment-wasm-build.yml
166+ init-shell : >-
167+ ${{ matrix.micromamba_shell_init }}
155168 environment-name : xeus-cpp-wasm-build
156169
157170 - name : Setup emsdk
0 commit comments