mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 18:45:10 +00:00
Add check stage.
This commit is contained in:
parent
5746debb55
commit
88c6b9f660
@ -4,7 +4,7 @@ stages:
|
|||||||
- dependencies
|
- dependencies
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
- deploy
|
- check
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
@ -636,8 +636,19 @@ test centos7 gcc-8:
|
|||||||
# CC: gcc
|
# CC: gcc
|
||||||
# CXX: g++
|
# CXX: g++
|
||||||
|
|
||||||
|
.check_stages: &check_stages
|
||||||
|
retry:
|
||||||
|
max: 2
|
||||||
|
when:
|
||||||
|
- runner_system_failure
|
||||||
|
- stuck_or_timeout_failure
|
||||||
|
- unknown_failure
|
||||||
|
- api_failure
|
||||||
|
image: $CI_REGISTRY_IMAGE/builder/$DISTRO-$COMPILER:latest
|
||||||
|
stage: check
|
||||||
|
|
||||||
check clang-tidy:
|
check clang-tidy:
|
||||||
<<: *test_stages
|
<<: *check_stages
|
||||||
variables:
|
variables:
|
||||||
COMPILER: clang-11
|
COMPILER: clang-11
|
||||||
DISTRO: ubuntu
|
DISTRO: ubuntu
|
||||||
@ -655,7 +666,7 @@ check clang-tidy:
|
|||||||
- make -j4 check-clang-tidy
|
- make -j4 check-clang-tidy
|
||||||
|
|
||||||
check clang-format:
|
check clang-format:
|
||||||
<<: *test_stages
|
<<: *check_stages
|
||||||
variables:
|
variables:
|
||||||
COMPILER: clang-11
|
COMPILER: clang-11
|
||||||
DISTRO: ubuntu
|
DISTRO: ubuntu
|
||||||
|
Loading…
Reference in New Issue
Block a user