File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 36
36
- name : Make build directory
37
37
run : mkdir build
38
38
39
+ - name : Micromamba shell hook
40
+ if : matrix.os == 'windows-latest'
41
+ shell : powershell
42
+ run : |
43
+ micromamba shell hook -s cmd.exe -p C:\Users\runneradmin\micromamba-root
44
+
39
45
- name : Unix, install
40
46
if : matrix.os != 'windows-latest'
41
47
run : |
46
52
47
53
- name : Windows, install
48
54
if : matrix.os == 'windows-latest'
49
- shell : cmd /C call {0}
55
+ shell : cmd
50
56
run : |
51
- micromamba activate pybind11_json
57
+ call C:\Users\runneradmin\ micromamba-root\condabin\micromamba.bat activate pybind11_json
52
58
cmake -G "NMake Makefiles" -D CMAKE_INSTALL_PREFIX="%CONDA_PREFIX%\Library" -D DOWNLOAD_GTEST=ON -D PYTHON_EXECUTABLE=%CONDA_PREFIX%/python.exe -Dgtest_force_shared_crt=ON -DCMAKE_CXX_FLAGS=/D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING ..
53
59
nmake install
54
60
working-directory : build
62
68
63
69
- name : Windows, Run tests
64
70
if : matrix.os == 'windows-latest'
65
- shell : cmd /C call {0}
71
+ shell : cmd
66
72
run : |
67
- micromamba activate pybind11_json
73
+ call C:\Users\runneradmin\ micromamba-root\condabin\micromamba.bat activate pybind11_json
68
74
./test/test_pybind11_json
69
75
working-directory : build
You can’t perform that action at this time.
0 commit comments