diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml index 3d5b1fe33c22b6c8ff7ca596154c0fc7a49a1231..c9e4771b8205aba31d97f75910fbd8075898d142 100644 --- a/.gitlab/ci/build.gitlab-ci.yml +++ b/.gitlab/ci/build.gitlab-ci.yml @@ -54,4 +54,9 @@ build:windows_cpp: - cd build_cpp - cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug .. - cmake --build . -j2 - - cmake --install ../install_cpp + - cmake --install . + + artifacts: + paths: + - build_cpp/ + - install_cpp/ diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml index 25ddfca3dadd420464f4037a8c99dc1e3122f80a..3719559647c7b07ca650d0bf69a8d031e0c771cd 100644 --- a/.gitlab/ci/test.gitlab-ci.yml +++ b/.gitlab/ci/test.gitlab-ci.yml @@ -25,3 +25,15 @@ test:ubuntu_python: artifacts: reports: junit: aidge_core/xmlrunner-results.xml + +test:windows_cpp: + stage: test + needs: ["build:windows_cpp"] + tags: + - windows + script: + - cd build_cpp + - ctest --output-junit ctest-results.xml --output-on-failure + artifacts: + reports: + junit: build_cpp/ctest-results.xml