Compare commits

..

No commits in common. "3663923a64af19b181144895140befce144522f8" and "ec773298fdd8dc23ee03902e62290a8ebefc78f7" have entirely different histories.

1 changed files with 18 additions and 17 deletions

View File

@ -19,7 +19,7 @@ volumes:
- name: conan
host:
path: /root/.conan2/
path: $HOME/.conan2/
services:
@ -31,7 +31,7 @@ services:
path: /var/run/
steps:
- name: build image
- name: setup_environment
image: docker:latest
volumes:
- name: dockersock
@ -41,7 +41,7 @@ steps:
- docker build -t ubuntu_amd64 -f ./tools/docker/linux_amd64 .
- docker images
- name: environment info
- name: log_info
image: ubuntu_amd64:latest
pull: if-not-exists
volumes:
@ -55,69 +55,70 @@ steps:
- pip --version
- python3 --version
- conan --version
- cmake --version
- gcc --version
- g++ --version
- clang --version
- clang++ --version
- clang-tidy --version
- name: build gcc
- name: build_gcc
image: ubuntu_amd64:latest
pull: if-not-exists
volumes:
- name: py
path: /opt/venv/
- name: conan
path: /root/.conan2
path: $HOME/.conan2
commands:
- . /opt/venv/bin/activate
- rm -rvf ./build
- export CC=$(which gcc)
- export CXX=$(which g++)
- export CONAN_PROFILE="$(pwd)/tools/conan/profiles/linux_gcc_amd64"
- conan install . --build=missing -pr=$$CONAN_PROFILE
- conan build . -pr=$$CONAN_PROFILE
- conan profile detect
- cp ./tools/conan/profiles/linux_gcc_amd64 $(conan profile path default)
- conan install . --build=missing
- conan build .
- ./build/Release/modules/light/light
- name: build clang
- name: build_clang
image: ubuntu_amd64:latest
pull: if-not-exists
volumes:
- name: py
path: /opt/venv/
- name: conan
path: /root/.conan2
path: $HOME/.conan2
commands:
- . /opt/venv/bin/activate
- rm -rvf ./build
- export CC=$(which clang)
- export CXX=$(which clang++)
- export CONAN_PROFILE="$(pwd)/tools/conan/profiles/linux_gcc_amd64"
- conan install . --build=missing -pr=$$CONAN_PROFILE
- conan build . -pr=$$CONAN_PROFILE
- conan profile detect
- cp ./tools/conan/profiles/linux_clang_amd64 $(conan profile path default)
- conan install . --build=missing
- conan build .
- ./build/Release/modules/light/light
- name: static analysis
- name: static_analysis
image: ubuntu_amd64:latest
pull: if-not-exists
commands:
- echo "[TODO] Implement static analysis"
- name: run tests
- name: run_tests
image: ubuntu_amd64:latest
pull: if-not-exists
commands:
- echo "[TODO] Implement tests"
- ./build/Release/modules/light/light
- name: report coverage
- name: report_coverage
image: ubuntu_amd64:latest
pull: if-not-exists
commands: