Skip to content
Snippets Groups Projects
Commit 1de267e1 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

complete cmake use in gitlab-ci

parent 7f70ae3d
No related branches found
No related tags found
No related merge requests found
Pipeline #21449 canceled
...@@ -47,7 +47,7 @@ build-gcc: ...@@ -47,7 +47,7 @@ build-gcc:
build-clang: build-clang:
<<: *build <<: *build
   
build-cmake-clang: .build-cmake: &build-cmake
variables: variables:
EXTRA_PKGS: cmake python3 py3-click EXTRA_PKGS: cmake python3 py3-click
script: script:
...@@ -73,6 +73,12 @@ build-cmake-clang: ...@@ -73,6 +73,12 @@ build-cmake-clang:
expire_in: 1 day expire_in: 1 day
stage: build stage: build
   
build-cmake-clang:
<<: *build-cmake
build-cmake-gcc:
<<: *build-cmake
build-doc: build-doc:
variables: variables:
EXTRA_PKGS: doxygen graphviz EXTRA_PKGS: doxygen graphviz
...@@ -114,12 +120,20 @@ test-clang: ...@@ -114,12 +120,20 @@ test-clang:
dependencies: dependencies:
- build-clang - build-clang
   
test-cmake-clang: .test-cmake: &test-cmake
variables: variables:
# coreutils are needed because of timeout command used in tests. # coreutils are needed because of timeout command used in tests.
EXTRA_PKGS: bc coreutils python3 EXTRA_PKGS: bc coreutils python3
script: script:
- for test in $(ls tests.*.sh); do ./${test} release/bin ${JOBS}; touch release/bin/log_tests.txt; cat release/bin/log_tests.txt; done - for test in $(ls tests.*.sh); do ./${test} release/bin ${JOBS}; touch release/bin/log_tests.txt; cat release/bin/log_tests.txt; done
stage: test stage: test
test-cmake-gcc:
<<: *test-cmake
dependencies:
- build-cmake-gcc
test-cmake-clang:
<<: *test-cmake
dependencies: dependencies:
- build-cmake-clang - build-cmake-clang
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment