@@ -16,8 +16,7 @@ build-linux:
1616 - if : $CI_PIPELINE_SOURCE != "merge_request_event" && (($COMPILER =~ /(gcc-14|clang-14)$/)) # clang-14 image has a bug with libc++13
1717 allow_failure : true
1818 - if : $CI_PIPELINE_SOURCE != "merge_request_event" # Only on push events (same as 'except: merge_requests')
19- before_script :
20- # This is required for pulling dependencies on projects
19+ before_script : # This is required for pulling dependencies on projects
2120 - git config --global credential.helper store
2221 - echo "https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}" > ~/.git-credentials
2322 script :
@@ -35,29 +34,29 @@ build-linux:
3534 reports :
3635 junit : build/ctest.xml
3736
38- # build-windows:
39- # stage: build
40- # parallel:
41- # matrix:
42- # - TYPE: [exe, static, shared]
43- # image: $CI_REGISTRY/idi/dockerfiles/cmake-cpp
44- # rules:
45- # - if: $CI_PIPELINE_SOURCE != "merge_request_event" # Only on push events (same as 'except: merge_requests')
46- # before_script:
47- # - git config --global credential.helper store
48- # - echo "https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}" > ~/.git-credentials
49- # script:
50- # - cmake --version
51- # - mkdir -p build
52- # - cd build
53- # - cmake .. $CMAKE_ARGS -DIDICMAKE_PLATFORM_CONFIG=../platform-config.$TYPE.cmake
54- # - cmake --build . -j 8
55- # - ctest -C Debug --output-junit ctest.xml
56- # interruptible: true
57- # artifacts:
58- # when: always
59- # name: "idi-cpp-template-$TYPE-win64-$CI_COMMIT_SHORT_SHA"
60- # paths:
61- # - build/ctest.xml
62- # reports:
63- # junit: build/ctest.xml
37+ build-windows :
38+ stage : build
39+ parallel :
40+ matrix :
41+ - TYPE : [exe, static, shared]
42+ image : $CI_REGISTRY/idi/dockerfiles/cmake-cpp
43+ rules :
44+ - if : $CI_PIPELINE_SOURCE != "merge_request_event" # Only on push events (same as 'except: merge_requests')
45+ before_script : # This is required for pulling dependencies on projects
46+ - git config --system credential.helper store
47+ - echo "https://gitlab-ci-token:${CI_JOB_TOKEN}@${CI_SERVER_HOST}`n " > ~/.git-credentials
48+ script :
49+ - cmake --version
50+ - mkdir -p build
51+ - cd build
52+ - cmake .. $CMAKE_ARGS -DIDICMAKE_PLATFORM_CONFIG=../platform-config.$TYPE.cmake
53+ - cmake --build . -j 8
54+ - ctest -C Debug --output-junit ctest.xml
55+ interruptible : true
56+ artifacts :
57+ when : always
58+ name : " idi-cpp-template-$TYPE-win64-$CI_COMMIT_SHORT_SHA"
59+ paths :
60+ - build/ctest.xml
61+ reports :
62+ junit : build/ctest.xml
0 commit comments