2024-07-19 04:18:01 +00:00
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: build_linux_clang_amd64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: ubuntu:latest
|
|
|
|
commands:
|
|
|
|
- apt update
|
2024-10-14 07:56:14 +00:00
|
|
|
- apt-get install -y build-essential cmake clang clang-tidy gcc g++ python3 python3-pip python3.12-venv
|
2024-07-19 04:18:01 +00:00
|
|
|
|
|
|
|
- python3 -m venv /opt/venv
|
|
|
|
- . /opt/venv/bin/activate
|
|
|
|
- pip --version
|
|
|
|
- python --version
|
|
|
|
|
|
|
|
- pip install conan==2.5.0
|
|
|
|
- conan --version
|
|
|
|
|
|
|
|
- export CONAN_REVISIONS_ENABLED=1
|
|
|
|
- export CC=$(which clang)
|
|
|
|
- export CXX=$(which clang++)
|
|
|
|
|
|
|
|
- conan profile detect
|
|
|
|
- cp ./tools/conan/profiles/linux_clang_amd64 $(conan profile path default)
|
|
|
|
|
2024-10-11 21:51:44 +00:00
|
|
|
# - conan remote add light https://artifactory.light7734.com/artifactory/api/conan/conan
|
|
|
|
- conan install . --build=missing
|
2024-08-08 08:37:22 +00:00
|
|
|
- conan build .
|
2024-07-19 04:18:01 +00:00
|
|
|
|
2024-08-08 08:37:22 +00:00
|
|
|
- build/Release/modules/light
|
2024-07-19 04:18:01 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: build_linux_gcc_amd64
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: ubuntu:latest
|
|
|
|
commands:
|
|
|
|
- apt update
|
2024-10-14 07:56:14 +00:00
|
|
|
- apt-get install -y build-essential cmake clang clang-tidy gcc g++ python3 python3-pip python3.12-venv
|
2024-07-19 04:18:01 +00:00
|
|
|
|
|
|
|
- python3 -m venv /opt/venv
|
|
|
|
- . /opt/venv/bin/activate
|
|
|
|
- pip --version
|
|
|
|
- python --version
|
|
|
|
|
|
|
|
- pip install conan==2.5.0
|
|
|
|
- conan --version
|
|
|
|
|
|
|
|
- export CONAN_REVISIONS_ENABLED=1
|
|
|
|
- export CC=$(which gcc)
|
|
|
|
- export CXX=$(which g++)
|
|
|
|
|
|
|
|
- conan profile detect
|
|
|
|
- cp ./tools/conan/profiles/linux_gcc_amd64 $(conan profile path default)
|
|
|
|
|
2024-10-11 21:51:44 +00:00
|
|
|
# - conan remote add light https://artifactory.light7734.com/artifactory/api/conan/conan
|
|
|
|
- conan install . --build=missing
|
2024-08-08 08:37:22 +00:00
|
|
|
- conan build .
|
2024-07-19 04:18:01 +00:00
|
|
|
|
2024-08-08 08:37:22 +00:00
|
|
|
- build/Release/modules/light
|
2024-07-19 04:18:01 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: static_analysis
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: analysis
|
|
|
|
image: ubuntu:latest
|
|
|
|
commands:
|
|
|
|
- echo "[TODO] Implement static analysis"
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: code_coverage
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: analysis
|
|
|
|
image: ubuntu:latest
|
|
|
|
commands:
|
|
|
|
- echo "[TODO] Implement code coverage"
|
|
|
|
|