cicd: remove anchor
This commit is contained in:
parent
61b365bae3
commit
cc52b5e657
18
.drone.yml
18
.drone.yml
|
@ -1,12 +1,10 @@
|
||||||
steps:
|
steps:
|
||||||
- &install_dependencies
|
|
||||||
name: install_dependencies
|
name: install_dependencies
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
commands:
|
||||||
- apt update
|
- apt update
|
||||||
- apt-get install -y build-essential cmake clang clang-tidy gcc g++ python3 python3-pip python3.12-venv
|
- apt-get install -y build-essential cmake clang clang-tidy gcc g++ python3 python3-pip python3.12-venv
|
||||||
|
|
||||||
- &setup_conan
|
|
||||||
name: setup_conan
|
name: setup_conan
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
environment:
|
environment:
|
||||||
|
@ -16,7 +14,6 @@ steps:
|
||||||
- . /opt/venv/bin/activate
|
- . /opt/venv/bin/activate
|
||||||
- pip install conan==2.5.0
|
- pip install conan==2.5.0
|
||||||
|
|
||||||
- &echo_info
|
|
||||||
name: echo_info
|
name: echo_info
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
commands:
|
||||||
|
@ -30,7 +27,6 @@ steps:
|
||||||
- clang-tidy --version
|
- clang-tidy --version
|
||||||
- clang-format --version
|
- clang-format --version
|
||||||
|
|
||||||
- &build_gcc
|
|
||||||
name: build_gcc
|
name: build_gcc
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
commands:
|
||||||
|
@ -45,7 +41,6 @@ steps:
|
||||||
|
|
||||||
- ./build/Release/modules/light/light
|
- ./build/Release/modules/light/light
|
||||||
|
|
||||||
- &build_clang
|
|
||||||
name: build_clang
|
name: build_clang
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
commands:
|
||||||
|
@ -60,19 +55,16 @@ steps:
|
||||||
|
|
||||||
- ./build/Release/modules/light/light
|
- ./build/Release/modules/light/light
|
||||||
|
|
||||||
- &static_analysis
|
|
||||||
name: static_analysis
|
name: static_analysis
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
commands:
|
||||||
- echo "[TODO] Implement static analysis"
|
- echo "[TODO] Implement static analysis"
|
||||||
|
|
||||||
- &run_tests
|
|
||||||
name: run_tests
|
name: run_tests
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
commands:
|
||||||
- echp "[TODO] Implement tests"
|
- echp "[TODO] Implement tests"
|
||||||
|
|
||||||
- &report_coverage
|
|
||||||
name: report_coverage
|
name: report_coverage
|
||||||
image: ubuntu:latest
|
image: ubuntu:latest
|
||||||
commands:
|
commands:
|
||||||
|
@ -86,16 +78,6 @@ platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
|
||||||
- *install_dependencies
|
|
||||||
- *setup_conan
|
|
||||||
- *echo_info
|
|
||||||
- *static_analysis
|
|
||||||
- *build_gcc
|
|
||||||
- *build_clang
|
|
||||||
- *report_coverage
|
|
||||||
- *run_tests
|
|
||||||
|
|
||||||
workspace:
|
workspace:
|
||||||
path: /opt
|
path: /opt
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue