File tree Expand file tree Collapse file tree 2 files changed +44
-1
lines changed
Expand file tree Collapse file tree 2 files changed +44
-1
lines changed Original file line number Diff line number Diff line change 1+ name : ci_environment
2+ channels :
3+ - conda-forge
4+ dependencies :
5+ - c-compiler
6+ - ninja
7+ - cmake
8+ - zlib
Original file line number Diff line number Diff line change 1111 - master
1212
1313jobs :
14- build :
14+ build_linux :
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v2
2828 run : |
2929 cd build
3030 make test
31+
32+ build_win :
33+ runs-on : windows-latest
34+ steps :
35+ - uses : actions/checkout@v2
36+ - name : Install environment from environment.yml
37+ uses : mamba-org/provision-with-micromamba@main
38+ with :
39+ environment-file : .github/micromamba_ci_environment.yml
40+
41+ - name : Build
42+ shell : cmd /C CALL {0}
43+ run : |
44+ call micromamba activate ci_environment
45+
46+ mkdir build
47+ cd build
48+ cmake -GNinja .. ^
49+ -D CMAKE_INSTALL_PREFIX=%CONDA_PREFIX%\Library ^
50+ -D ENABLE_CONDA=ON ^
51+ -D MULTI_SEMANTICS=ON ^
52+ -D WITHOUT_COOKIEOPEN=ON
53+
54+ ninja
55+
56+ ninja install
57+
58+ - name : Test
59+ shell : cmd /C call {0}
60+ run : |
61+ call micromamba activate ci_environment
62+
63+ set CTEST_OUTPUT_ON_FAILURE=1
64+ cd build
65+ ninja test
You can’t perform that action at this time.
0 commit comments