ac951b2afa
Some checks failed
ContinuousDelivery / linux-ubuntu (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Has been cancelled
ContinuousDelivery / windows (push) Has been cancelled
ContinuousDelivery / windows-asan (push) Has been cancelled
ContinuousIntegration / linux (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android]) (push) Has been cancelled
ContinuousIntegration / macos (push) Has been cancelled
ContinuousIntegration / windows (push) Has been cancelled
ContinuousDelivery / release (push) Has been cancelled
Merge commit '261d2e53b7a513de7eb35e022fe3b2ae4efa835f'
116 lines
2.5 KiB
YAML
116 lines
2.5 KiB
YAML
---
|
|
version: 2
|
|
|
|
workflows:
|
|
version: 2
|
|
circleci:
|
|
jobs:
|
|
- bazel-asan
|
|
- bazel-msan
|
|
- clang-analyze
|
|
- cpplint
|
|
- static-analysis
|
|
- cimplefmt
|
|
- generate-events
|
|
|
|
jobs:
|
|
bazel-asan:
|
|
working_directory: /tmp/cirrus-ci-build
|
|
docker:
|
|
- image: toxchat/toktok-stack:latest-asan
|
|
|
|
steps:
|
|
- checkout
|
|
- run: .circleci/bazel-test
|
|
//c-toxcore/...
|
|
|
|
bazel-msan:
|
|
working_directory: /tmp/cirrus-ci-build
|
|
docker:
|
|
- image: toxchat/toktok-stack:latest-msan
|
|
|
|
steps:
|
|
- checkout
|
|
- run: .circleci/bazel-test
|
|
//c-toxcore/auto_tests:lossless_packet_test
|
|
|
|
static-analysis:
|
|
working_directory: ~/work
|
|
docker:
|
|
- image: ubuntu
|
|
|
|
steps:
|
|
- run: &apt_install
|
|
apt-get update &&
|
|
DEBIAN_FRONTEND=noninteractive
|
|
apt-get install -y
|
|
ca-certificates
|
|
clang
|
|
cmake
|
|
git
|
|
libbenchmark-dev
|
|
libconfig-dev
|
|
libgmock-dev
|
|
libgtest-dev
|
|
libopus-dev
|
|
libsodium-dev
|
|
libvpx-dev
|
|
llvm-dev
|
|
ninja-build
|
|
pkg-config
|
|
- run:
|
|
apt-get install -y --no-install-recommends
|
|
ca-certificates
|
|
g++
|
|
llvm-dev
|
|
- checkout
|
|
- run: git submodule update --init --recursive
|
|
- run: other/analysis/check_includes
|
|
- run: other/analysis/check_logger_levels
|
|
- run: other/analysis/run-clang
|
|
- run: other/analysis/run-gcc
|
|
|
|
clang-analyze:
|
|
working_directory: ~/work
|
|
docker:
|
|
- image: ubuntu
|
|
|
|
steps:
|
|
- run: *apt_install
|
|
- checkout
|
|
- run: git submodule update --init --recursive
|
|
- run: other/analysis/run-clang-analyze
|
|
|
|
cpplint:
|
|
working_directory: ~/work
|
|
docker:
|
|
- image: ubuntu
|
|
|
|
steps:
|
|
- run: *apt_install
|
|
- run:
|
|
apt-get install -y --no-install-recommends
|
|
cpplint
|
|
- checkout
|
|
- run: git submodule update --init --recursive
|
|
- run: other/analysis/run-cpplint
|
|
|
|
cimplefmt:
|
|
working_directory: ~/work
|
|
machine: { image: ubuntu-2204:current }
|
|
|
|
steps:
|
|
- checkout
|
|
- run: git submodule update --init --recursive
|
|
- run: other/docker/cimplefmt/run -u $(find tox* -name "*.[ch]")
|
|
|
|
generate-events:
|
|
working_directory: ~/work
|
|
machine: { image: ubuntu-2204:current }
|
|
|
|
steps:
|
|
- checkout
|
|
- run: git submodule update --init --recursive
|
|
- run: other/event_tooling/run
|
|
- run: git diff --exit-code
|