@@ -24,24 +24,33 @@ jobs:
24
24
include :
25
25
- name : ubu22
26
26
os : ubuntu-22.04
27
+ micromamba_shell_init : bash
27
28
- name : ubu22-analyzers
28
29
os : ubuntu-22.04
29
30
coverage : true
30
31
extra_cmake_flags : -DCMAKE_BUILD_TYPE=Debug
32
+ micromamba_shell_init : bash
31
33
- name : osx13-x86
32
34
os : macos-13
35
+ micromamba_shell_init : bash
33
36
- name : osx14-arm
34
37
os : macos-14
38
+ micromamba_shell_init : bash
35
39
- name : Windows22
36
40
os : windows-2022
41
+ micromamba_shell_init : cmd.exe
37
42
38
43
steps :
39
- - uses : actions/checkout@v3
44
+ - uses : actions/checkout@v4
45
+ with :
46
+ fetch-depth : 0
40
47
41
48
- name : install mamba
42
- uses : mamba-org/provision-with -micromamba@main
49
+ uses : mamba-org/setup -micromamba@main
43
50
with :
44
51
environment-file : environment-dev.yml
52
+ init-shell : >-
53
+ ${{ matrix.micromamba_shell_init }}
45
54
environment-name : xeus-cpp
46
55
47
56
- name : micromamba shell hook
56
65
run : |
57
66
$HOME/micromamba-bin/micromamba install cxx-compiler -c conda-forge -y
58
67
59
-
60
68
- name : cmake configure
61
69
if : ${{ runner.os == 'windows' }}
62
- shell : cmd
70
+ shell : cmd /C call {0}
63
71
run : |
64
72
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-cpp
65
73
mkdir -p build
80
88
81
89
- name : build & install
82
90
if : ${{ runner.os == 'windows' }}
83
- shell : cmd
91
+ shell : cmd /C call {0}
84
92
run : |
85
93
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-cpp
86
94
cd build
@@ -126,7 +134,7 @@ jobs:
126
134
127
135
- name : Upload to codecov.io
128
136
if : ${{ success() && (matrix.coverage == true) }}
129
- uses : codecov/codecov-action@v3
137
+ uses : codecov/codecov-action@v4
130
138
with :
131
139
file : ./coverage.info
132
140
@@ -144,14 +152,19 @@ jobs:
144
152
fail-fast : false
145
153
matrix :
146
154
emsdk_ver : ["3.1.45"]
155
+ micromamba_shell_init : ["bash"]
147
156
148
157
steps :
149
- - uses : actions/checkout@v3
158
+ - uses : actions/checkout@v4
159
+ with :
160
+ fetch-depth : 0
150
161
151
- - name : Install mamba
152
- uses : mamba-org/provision-with -micromamba@main
162
+ - name : install mamba
163
+ uses : mamba-org/setup -micromamba@main
153
164
with :
154
165
environment-file : environment-wasm-build.yml
166
+ init-shell : >-
167
+ ${{ matrix.micromamba_shell_init }}
155
168
environment-name : xeus-cpp-wasm-build
156
169
157
170
- name : Setup emsdk
0 commit comments