Merge commit '3105cc20ef3173b87fdc1688962ed6318a1fd039'
This commit is contained in:
12
external/toxcore/c-toxcore/.circleci/bazel-test
vendored
12
external/toxcore/c-toxcore/.circleci/bazel-test
vendored
@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eux
|
||||
|
||||
git submodule update --init --recursive
|
||||
/src/workspace/tools/inject-repo c-toxcore
|
||||
# TODO(iphydf): Re-enable fuzz-test when https://github.com/tweag/rules_nixpkgs/issues/442 is fixed.
|
||||
cd /src/workspace && bazel test -k \
|
||||
--build_tag_filters=-haskell,-fuzz-test \
|
||||
--test_tag_filters=-haskell,-fuzz-test \
|
||||
-- \
|
||||
"$@"
|
53
external/toxcore/c-toxcore/.circleci/config.yml
vendored
53
external/toxcore/c-toxcore/.circleci/config.yml
vendored
@ -6,11 +6,13 @@ workflows:
|
||||
circleci:
|
||||
jobs:
|
||||
- bazel-asan
|
||||
- bazel-dbg
|
||||
- bazel-opt
|
||||
- bazel-debug
|
||||
- bazel-msan
|
||||
- bazel-release
|
||||
- clang-analyze
|
||||
- cpplint
|
||||
- static-analysis
|
||||
- cimple
|
||||
- cimplefmt
|
||||
- generate-events
|
||||
|
||||
@ -18,31 +20,45 @@ jobs:
|
||||
bazel-asan:
|
||||
working_directory: /tmp/cirrus-ci-build
|
||||
docker:
|
||||
- image: toxchat/toktok-stack:latest-asan
|
||||
- image: toxchat/toktok-stack:latest
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
- run: .circleci/bazel-test
|
||||
- run: bash <(curl -s https://raw.githubusercontent.com/TokTok/ci-tools/refs/heads/master/tools/circleci-bazel-test)
|
||||
--build_tag_filters=-haskell,-fuzz-test
|
||||
--test_tag_filters=-haskell,-fuzz-test
|
||||
//c-toxcore/...
|
||||
|
||||
bazel-dbg:
|
||||
bazel-debug:
|
||||
working_directory: /tmp/cirrus-ci-build
|
||||
docker:
|
||||
- image: toxchat/toktok-stack:latest-debug
|
||||
- image: toxchat/toktok-stack:latest
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
- run: .circleci/bazel-test
|
||||
- run: bash <(curl -s https://raw.githubusercontent.com/TokTok/ci-tools/refs/heads/master/tools/circleci-bazel-test)
|
||||
--build_tag_filters=-haskell
|
||||
--test_tag_filters=-haskell
|
||||
//c-toxcore/...
|
||||
|
||||
bazel-opt:
|
||||
bazel-msan:
|
||||
working_directory: /tmp/cirrus-ci-build
|
||||
docker:
|
||||
- image: toxchat/toktok-stack:latest-release
|
||||
- image: toxchat/toktok-stack:latest
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
- run: .circleci/bazel-test
|
||||
- run: bash <(curl -s https://raw.githubusercontent.com/TokTok/ci-tools/refs/heads/master/tools/circleci-bazel-test)
|
||||
//c-toxcore/auto_tests:lossless_packet_test
|
||||
|
||||
bazel-release:
|
||||
working_directory: /tmp/cirrus-ci-build
|
||||
docker:
|
||||
- image: toxchat/toktok-stack:latest
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
- run: bash <(curl -s https://raw.githubusercontent.com/TokTok/ci-tools/refs/heads/master/tools/circleci-bazel-test)
|
||||
//c-toxcore/...
|
||||
|
||||
static-analysis:
|
||||
@ -106,6 +122,23 @@ jobs:
|
||||
- run: git submodule update --init --recursive
|
||||
- run: other/analysis/run-cpplint
|
||||
|
||||
cimple:
|
||||
working_directory: /tmp/cirrus-ci-build
|
||||
docker:
|
||||
- image: toxchat/toktok-stack:latest-release
|
||||
|
||||
steps:
|
||||
- checkout
|
||||
- run: git submodule update --init --recursive
|
||||
- run: /src/workspace/tools/inject-repo c-toxcore
|
||||
- run: cd /src/workspace &&
|
||||
bazel test
|
||||
-k
|
||||
--build_tag_filters=haskell
|
||||
--test_tag_filters=haskell
|
||||
--
|
||||
//c-toxcore/...
|
||||
|
||||
cimplefmt:
|
||||
working_directory: ~/work
|
||||
machine: { image: ubuntu-2204:current }
|
||||
|
Reference in New Issue
Block a user