mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 11:57:28 -03:00
Merge bitcoin/bitcoin#30740: ci: Re-add configs removed in cmake migration
fa80d39d82
ci: Re-add configs removed in cmake migration (MarcoFalke) Pull request description: In commit9730288a0c
many configs were removed from the CI without explanation. Fix it by adding them back. Can be reviewed by looking at: * the parity table https://gist.github.com/hebasto/2ef97d3a726bfce08ded9df07f7dab5e * the installed packages * the CI logs from before the cmake migration and the CI logs of this pull request ACKs for top commit: fanquake: ACKfa80d39d82
Tree-SHA512: a33335e117750e6c2e1490bb621f67c466f901793e43abe1bd0e263ef16fdcbc9e88be55c206167f3a5ddb39c1df6989c0fb7a96d9240243c000ba2e7f5e2747
This commit is contained in:
commit
00ad716c2b
5 changed files with 6 additions and 5 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -72,7 +72,7 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
# Run tests on commits after the last merge commit and before the PR head commit
|
# Run tests on commits after the last merge commit and before the PR head commit
|
||||||
# Use clang++, because it is a bit faster and uses less memory than g++
|
# Use clang++, because it is a bit faster and uses less memory than g++
|
||||||
git rebase --exec "echo Running test-one-commit on \$( git log -1 ) && CC=clang CXX=clang++ cmake -B build -DBUILD_GUI=ON -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWITH_BDB=ON -DWITH_NATPMP=ON -DWITH_MINIUPNPC=ON -DWITH_USDT=ON && cmake --build build -j $(nproc) && ctest --test-dir build -j $(nproc) && ./build/test/functional/test_runner.py -j $(( $(nproc) * 2 ))" ${{ env.TEST_BASE }}
|
git rebase --exec "echo Running test-one-commit on \$( git log -1 ) && CC=clang CXX=clang++ cmake -B build -DWITH_ZMQ=ON -DBUILD_GUI=ON -DBUILD_BENCH=ON -DBUILD_FUZZ_BINARY=ON -DWITH_BDB=ON -DWITH_NATPMP=ON -DWITH_MINIUPNPC=ON -DWITH_USDT=ON && cmake --build build -j $(nproc) && ctest --test-dir build -j $(nproc) && ./build/test/functional/test_runner.py -j $(( $(nproc) * 2 ))" ${{ env.TEST_BASE }}
|
||||||
|
|
||||||
macos-native-x86_64:
|
macos-native-x86_64:
|
||||||
name: 'macOS 13 native, x86_64, no depends, sqlite only, gui'
|
name: 'macOS 13 native, x86_64, no depends, sqlite only, gui'
|
||||||
|
|
|
@ -11,7 +11,7 @@ export HOST=x86_64-apple-darwin
|
||||||
# Therefore, `--break-system-packages` is needed.
|
# Therefore, `--break-system-packages` is needed.
|
||||||
export PIP_PACKAGES="--break-system-packages zmq"
|
export PIP_PACKAGES="--break-system-packages zmq"
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
export BITCOIN_CONFIG="-DBUILD_GUI=ON -DWITH_MINIUPNPC=ON -DWITH_NATPMP=ON -DREDUCE_EXPORTS=ON"
|
export BITCOIN_CONFIG="-DBUILD_GUI=ON -DWITH_ZMQ=ON -DWITH_MINIUPNPC=ON -DWITH_NATPMP=ON -DREDUCE_EXPORTS=ON"
|
||||||
export CI_OS_NAME="macos"
|
export CI_OS_NAME="macos"
|
||||||
export NO_DEPENDS=1
|
export NO_DEPENDS=1
|
||||||
export OSX_SDK=""
|
export OSX_SDK=""
|
||||||
|
|
|
@ -23,7 +23,7 @@ export PACKAGES="systemtap-sdt-dev clang-18 llvm-18 libclang-rt-18-dev python3-z
|
||||||
export NO_DEPENDS=1
|
export NO_DEPENDS=1
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
export BITCOIN_CONFIG="\
|
export BITCOIN_CONFIG="\
|
||||||
-DWITH_USDT=ON -DWITH_ZMQ=ON -DWARN_INCOMPATIBLE_BDB=OFF -DBUILD_GUI=ON \
|
-DWITH_USDT=ON -DWITH_ZMQ=ON -DWITH_BDB=ON -DWARN_INCOMPATIBLE_BDB=OFF -DBUILD_GUI=ON \
|
||||||
-DSANITIZERS=address,float-divide-by-zero,integer,undefined \
|
-DSANITIZERS=address,float-divide-by-zero,integer,undefined \
|
||||||
-DCMAKE_C_COMPILER=clang-18 \
|
-DCMAKE_C_COMPILER=clang-18 \
|
||||||
-DCMAKE_CXX_COMPILER=clang++-18 \
|
-DCMAKE_CXX_COMPILER=clang++-18 \
|
||||||
|
|
|
@ -17,7 +17,8 @@ export RUN_FUZZ_TESTS=false
|
||||||
export RUN_TIDY=true
|
export RUN_TIDY=true
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
export BITCOIN_CONFIG="\
|
export BITCOIN_CONFIG="\
|
||||||
-DWARN_INCOMPATIBLE_BDB=OFF -DENABLE_HARDENING=OFF \
|
-DWITH_ZMQ=ON -DBUILD_GUI=ON -DBUILD_BENCH=ON -DWITH_NATPMP=ON -DWITH_MINIUPNPC=ON -DWITH_USDT=ON -DWITH_BDB=ON -DWARN_INCOMPATIBLE_BDB=OFF \
|
||||||
|
-DENABLE_HARDENING=OFF \
|
||||||
-DCMAKE_C_COMPILER=clang-${TIDY_LLVM_V} \
|
-DCMAKE_C_COMPILER=clang-${TIDY_LLVM_V} \
|
||||||
-DCMAKE_CXX_COMPILER=clang++-${TIDY_LLVM_V} \
|
-DCMAKE_CXX_COMPILER=clang++-${TIDY_LLVM_V} \
|
||||||
-DCMAKE_C_FLAGS_RELWITHDEBINFO='-O0 -g0' \
|
-DCMAKE_C_FLAGS_RELWITHDEBINFO='-O0 -g0' \
|
||||||
|
|
|
@ -15,7 +15,7 @@ export TEST_RUNNER_EXTRA="--exclude feature_init,rpc_bind,feature_bind_extra" #
|
||||||
export GOAL="install"
|
export GOAL="install"
|
||||||
# TODO enable GUI
|
# TODO enable GUI
|
||||||
export BITCOIN_CONFIG="\
|
export BITCOIN_CONFIG="\
|
||||||
-DWITH_ZMQ=ON -DWARN_INCOMPATIBLE_BDB=OFF -DBUILD_GUI=OFF \
|
-DWITH_ZMQ=ON -DWITH_BDB=ON -DWITH_NATPMP=ON -DWITH_MINIUPNPC=ON -DWARN_INCOMPATIBLE_BDB=OFF -DBUILD_GUI=OFF \
|
||||||
-DCMAKE_C_COMPILER=clang-16 \
|
-DCMAKE_C_COMPILER=clang-16 \
|
||||||
-DCMAKE_CXX_COMPILER=clang++-16 \
|
-DCMAKE_CXX_COMPILER=clang++-16 \
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue