File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ def main():
2727 "cmake" ,
2828 "-B" ,
2929 "build" ,
30+ "-Werror=dev" ,
3031 "-DCMAKE_C_COMPILER=clang" ,
3132 "-DCMAKE_CXX_COMPILER=clang++" ,
3233 "-DWERROR=ON" ,
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ jobs:
223223
224224 - name : Generate build system
225225 run : |
226- cmake -B build --preset vs2022 -DCMAKE_TOOLCHAIN_FILE="${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" ${{ matrix.generate-options }}
226+ cmake -B build -Werror=dev - -preset vs2022 -DCMAKE_TOOLCHAIN_FILE="${VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake" ${{ matrix.generate-options }}
227227
228228 - name : Save vcpkg binary cache
229229 uses : actions/cache/save@v4
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ BASE_BUILD_DIR=${BASE_BUILD_DIR:-$BASE_SCRATCH_DIR/build-$HOST}
118118mkdir -p " ${BASE_BUILD_DIR} "
119119cd " ${BASE_BUILD_DIR} "
120120
121- BITCOIN_CONFIG_ALL=" $BITCOIN_CONFIG_ALL -DCMAKE_INSTALL_PREFIX=$BASE_OUTDIR "
121+ BITCOIN_CONFIG_ALL=" $BITCOIN_CONFIG_ALL -DCMAKE_INSTALL_PREFIX=$BASE_OUTDIR -Werror=dev "
122122
123123if [[ " ${RUN_TIDY} " == " true" ]]; then
124124 BITCOIN_CONFIG_ALL=" $BITCOIN_CONFIG_ALL -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
You can’t perform that action at this time.
0 commit comments