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():
27
27
"cmake" ,
28
28
"-B" ,
29
29
"build" ,
30
+ "-Werror=dev" ,
30
31
"-DCMAKE_C_COMPILER=clang" ,
31
32
"-DCMAKE_CXX_COMPILER=clang++" ,
32
33
"-DWERROR=ON" ,
Original file line number Diff line number Diff line change @@ -223,7 +223,7 @@ jobs:
223
223
224
224
- name : Generate build system
225
225
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 }}
227
227
228
228
- name : Save vcpkg binary cache
229
229
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}
118
118
mkdir -p " ${BASE_BUILD_DIR} "
119
119
cd " ${BASE_BUILD_DIR} "
120
120
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 "
122
122
123
123
if [[ " ${RUN_TIDY} " == " true" ]]; then
124
124
BITCOIN_CONFIG_ALL=" $BITCOIN_CONFIG_ALL -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
You can’t perform that action at this time.
0 commit comments