File tree Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Expand file tree Collapse file tree 3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 2626 cmake --build build
2727
2828 - name : Test
29+ working-directory : build
2930 run : |
30- cmake --build build --target test
31+ ctest -v
3132
3233 build-windows :
3334 runs-on : windows-latest
@@ -43,11 +44,20 @@ jobs:
4344 path : ~\AppData\Local\vcpkg\archives
4445 key : vcpkg-cache
4546
47+ - name : Install unit tests requirements
48+ run : |
49+ pip install -r tests\unit_tests\requirements.txt
50+
4651 - name : Build
4752 run : |
4853 mkdir build
4954 cmake -Bbuild -DCMAKE_TOOLCHAIN_FILE=C:\Vcpkg\scripts\buildsystems\vcpkg.cmake .
50- cmake --build build
55+ cmake --build build --config Release
56+
57+ - name : Test
58+ working-directory : build
59+ run : |
60+ ctest -v -C Release
5161
5262 build-emscripten :
5363 runs-on : ubuntu-20.04
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ file(READ lit.site.cfg.py.in lit_cfg_in)
4848string (CONFIGURE "${lit_cfg_in} " lit_cfg @ONLY)
4949
5050file (GENERATE
51- OUTPUT ${CMAKE_CURRENT_BINARY_DIR} / lit.site.cfg.py
51+ OUTPUT $<CONFIG>. lit.site.cfg.py
5252 CONTENT "${lit_cfg} " )
5353
5454add_subdirectory (preprocessor)
Original file line number Diff line number Diff line change 1818# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1919
2020add_test (NAME preprocessor
21- COMMAND lit::tool -v ${CMAKE_CURRENT_BINARY_DIR} )
21+ COMMAND lit::tool --config- prefix $<CONFIG>.lit - v ${CMAKE_CURRENT_BINARY_DIR} )
You can’t perform that action at this time.
0 commit comments