File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 46
46
if : matrix.os != 'windows-latest'
47
47
run : |
48
48
micromamba activate pybind11_json
49
- cmake -D CMAKE_INSTALL_PREFIX=$CONDA_PREFIX -D DOWNLOAD_GTEST=ON -D PYTHON_EXECUTABLE=`which python` -D CMAKE_INSTALL_LIBDIR=lib ..
49
+ cmake .. \
50
+ -D CMAKE_INSTALL_PREFIX=$CONDA_PREFIX \
51
+ -D DOWNLOAD_GTEST=ON \
52
+ -D PYTHON_EXECUTABLE=`which python` \
53
+ -D CMAKE_INSTALL_LIBDIR=lib
50
54
make install -j2
51
55
working-directory : build
52
56
@@ -55,15 +59,20 @@ jobs:
55
59
shell : cmd
56
60
run : |
57
61
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate pybind11_json
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 ..
62
+ cmake .. ^
63
+ -G "NMake Makefiles" ^
64
+ -D CMAKE_INSTALL_PREFIX="%CONDA_PREFIX%\Library" ^
65
+ -D DOWNLOAD_GTEST=ON ^
66
+ -D gtest_force_shared_crt=ON ^
67
+ -D CMAKE_CXX_FLAGS=/D_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
59
68
nmake install
60
69
working-directory : build
61
70
62
71
- name : Unix, Run tests
63
72
if : matrix.os != 'windows-latest'
64
73
run : |
65
74
micromamba activate pybind11_json
66
- test_pybind11_json
75
+ ./ test_pybind11_json
67
76
working-directory : build/test
68
77
69
78
- name : Windows, Run tests
You can’t perform that action at this time.
0 commit comments