forked from bitcoin/bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ci: extract "slim" container to run functional tests and add multiprocess and tsan, drop unneeded packages
#6604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
5413955
ci: move packages needed to run `dash-qt` into `develop` container
kwvg a4ce15b
ci: rename `ci/Dockerfile`, switch to `devthefuture/dockerfile-x`
kwvg 4bcd093
ci: stop using LLVM setup script to setup repo
kwvg 837d10a
ci: extract minimum environment needed to run functional tests
kwvg 630bb0c
ci: consolidate package installation in `ci` container
kwvg 22e9acd
ci: remove old dependencies, packages not used in building or testing
kwvg 89d977d
ci: use slim container for functional tests
kwvg 90710b3
ci: avoid making copies when collecting logs, misc. script fixes
kwvg b379708
trivial: `lldbUpdAltArgs` -> `llvmUpdAltArgs`
kwvg 94dedba
revert: tentatively drop multiprocess and tsan functional tests
kwvg b8b9bb4
ci: split out `multiprocess` linting to a separate step on Actions
kwvg 76f99cd
doc: update container documentation
kwvg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| ** | ||
| !contrib/containers/ci/Dockerfile | ||
| !contrib/containers/ci/ci.Dockerfile | ||
| !contrib/containers/ci/ci-slim.Dockerfile | ||
| !contrib/containers/deploy/Dockerfile | ||
| !contrib/containers/develop/Dockerfile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| #!/usr/bin/env bash | ||
| # Copyright (c) 2025 The Dash Core developers | ||
| # Distributed under the MIT software license, see the accompanying | ||
| # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||
|
|
||
| export LC_ALL=C.UTF-8 | ||
|
|
||
| set -eo pipefail | ||
|
|
||
| # Warning: This script does not generate the compilation database these linters rely | ||
| # only on nor do they set the requisite build parameters. Make sure you do | ||
| # that *before* running this script. | ||
|
|
||
| cd "${BASE_ROOT_DIR}/build-ci/dashcore-${BUILD_TARGET}/src" | ||
| ( run-clang-tidy -quiet "${MAKEJOBS}" ) | grep -C5 "error" | ||
|
|
||
| cd "${BASE_ROOT_DIR}/build-ci/dashcore-${BUILD_TARGET}" | ||
| iwyu_tool.py \ | ||
| "src/compat" \ | ||
| "src/init" \ | ||
| "src/rpc/fees.cpp" \ | ||
| "src/rpc/signmessage.cpp" \ | ||
| -p . "${MAKEJOBS}" \ | ||
| -- -Xiwyu --cxx17ns -Xiwyu --mapping_file="${BASE_ROOT_DIR}/contrib/devtools/iwyu/bitcoin.core.imp" \ | ||
| 2>&1 | tee "/tmp/iwyu_ci.out" | ||
|
|
||
| cd "${BASE_ROOT_DIR}/build-ci/dashcore-${BUILD_TARGET}/src" | ||
| fix_includes.py --nosafe_headers < /tmp/iwyu_ci.out | ||
| git --no-pager diff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this only for multiprocess?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nevermind, it's because we only do the bear / clang stuff in this build for iwyu