forked from Green-Sky/tomato
Green Sky
fd4c16d090
671b1f92332 fix: toxav rtp temp buffer allocation size was too large and cast from 32bit to 16bit, causing a overflow and making the allocated size too small 258148bd4e1 chore(ci): new minimum for all android versions is 21 d369c93c489 chore: Fix Emscripten build failing with no host specified 51b24d1c239 chore: Run CompCert on the stable branch of libsodium cab1f7d522b chore: Update WineHQ's apt key hash 102a1fa9b82 chore: Fix -Werror=maybe-uninitialized in a test cc9515da9c7 chore: Fix cpplint failing to install 3485b5feef3 chore: Disable -Wswitch-default and -Wunsafe-buffer-usage 719041e04b6 chore: Fix Circle CI failing on a missing clang lib 5344d7f84d0 fix: Memory leak in the bootstrap daemon fa201681e18 cleanup: Remove useless if clause 7572888a218 chore: Fix GitHub actions deprecation warnings git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: 671b1f92332a8314dccf76d5df93c0b6c1230636
148 lines
3.2 KiB
YAML
148 lines
3.2 KiB
YAML
---
|
|
version: 2
|
|
|
|
workflows:
|
|
version: 2
|
|
program-analysis:
|
|
jobs:
|
|
# Dynamic analysis in the Bazel build
|
|
- bazel-asan
|
|
- bazel-msan
|
|
- bazel-tsan
|
|
# Dynamic analysis with CMake
|
|
- asan
|
|
- tsan
|
|
- ubsan
|
|
# Static analysis
|
|
- clang-analyze
|
|
- cpplint
|
|
- static-analysis
|
|
|
|
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-tsan:
|
|
working_directory: /tmp/cirrus-ci-build
|
|
docker:
|
|
- image: toxchat/toktok-stack:latest-tsan
|
|
|
|
steps:
|
|
- checkout
|
|
- run: .circleci/bazel-test
|
|
//c-toxcore/...
|
|
-//c-toxcore/auto_tests:conference_av_test
|
|
-//c-toxcore/auto_tests:conference_test
|
|
-//c-toxcore/auto_tests:onion_test
|
|
-//c-toxcore/auto_tests:tox_many_test
|
|
|
|
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
|
|
|
|
asan:
|
|
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
|
|
libconfig-dev
|
|
libgmock-dev
|
|
libgtest-dev
|
|
libopus-dev
|
|
libsodium-dev
|
|
libvpx-dev
|
|
llvm-dev
|
|
ninja-build
|
|
pkg-config
|
|
- checkout
|
|
- run: git submodule update --init --recursive
|
|
- run: CC=clang .circleci/cmake-asan
|
|
|
|
tsan:
|
|
working_directory: ~/work
|
|
docker:
|
|
- image: ubuntu
|
|
|
|
steps:
|
|
- run: *apt_install
|
|
- checkout
|
|
- run: git submodule update --init --recursive
|
|
- run: CC=clang .circleci/cmake-tsan
|
|
|
|
ubsan:
|
|
working_directory: ~/work
|
|
docker:
|
|
- image: ubuntu
|
|
|
|
steps:
|
|
- run: *apt_install
|
|
- checkout
|
|
- run: git submodule update --init --recursive
|
|
- run: CC=clang .circleci/cmake-ubsan
|
|
|
|
static-analysis:
|
|
working_directory: ~/work
|
|
docker:
|
|
- image: ubuntu
|
|
|
|
steps:
|
|
- run: *apt_install
|
|
- 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
|