diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd1c578c83ad14858aad02c39306f3cf5328bc36..eeed25959ad268fcf45a30611e1862f885dc6a02 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,18 +1,28 @@ +variables: + GIT_SUBMODULE_STRATEGY: recursive + stages: - - prepare - - analyze - build - - test + - deploy -variables: - GIT_SUBMODULE_STRATEGY: normal +.ci-polygon: + tags: + - ci-polygon + +.tests: + extends: .ci-polygon + stage: build + timeout: 3 hours 30 minutes + dependencies: [] + + +tests: + extends: .tests + image: demlabs/amd64/debian-bullseye:linuxbuilder + before_script: /opt/buildtools/prepare_environment.sh amd64-linux + script: + - mkdir build + - cd build && cmake .. -DBUILD_CELLFRAME_SDK_TESTS=ON -DOFF_CORE_CELLFRAME_SDK_TESTS_OFF=network-monitor -DOFF_CRYPTO_CELLFRAME_SDK_TESTS_OFF="new-hope, multisign" && make + + -cellframe-sdk-analyze: - stage: analyze - tags: - - cellframe-sdk - script: ~/production/integration/PVS-studio/analyze.sh - artifacts: - paths: - - report/issues.txt - when: always