ci: fix 'no source or binary dir provided' warning
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
CMake Warning: No source or binary directory provided. Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases.
This commit is contained in:
parent
b661def40e
commit
a92b80ae53
@ -88,7 +88,7 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
||||||
- cd src
|
- cd src
|
||||||
- cmake -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -Wall -Werror -Wextra -Wno-reorder -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-unused-but-set-variable -Wno-format-truncation -Wno-implicit-fallthrough -Wno-type-limits -Wno-class-memaccess -Wno-stringop-truncation"
|
- cmake -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -Wall -Werror -Wextra -Wno-reorder -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-unused-but-set-variable -Wno-format-truncation -Wno-implicit-fallthrough -Wno-type-limits -Wno-class-memaccess -Wno-stringop-truncation" .
|
||||||
- make clean fastnetmon all
|
- make clean fastnetmon all
|
||||||
when:
|
when:
|
||||||
status: [success, failure]
|
status: [success, failure]
|
||||||
@ -186,7 +186,7 @@ steps:
|
|||||||
- cmake --version
|
- cmake --version
|
||||||
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
- export MAKEFLAGS="$MAKEFLAGS -j$(nproc)"
|
||||||
- cd src
|
- cd src
|
||||||
- cmake -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -Wall -Werror -Wextra -Wno-reorder -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-unused-but-set-variable -Wno-format-truncation -Wno-implicit-fallthrough -Wno-type-limits -Wno-class-memaccess -Wno-stringop-truncation"
|
- cmake -DCMAKE_CXX_FLAGS="$CMAKE_CXX_FLAGS -Wall -Werror -Wextra -Wno-reorder -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -Wno-unused-but-set-variable -Wno-format-truncation -Wno-implicit-fallthrough -Wno-type-limits -Wno-class-memaccess -Wno-stringop-truncation" .
|
||||||
- make clean fastnetmon all
|
- make clean fastnetmon all
|
||||||
when:
|
when:
|
||||||
status: [success, failure]
|
status: [success, failure]
|
||||||
|
Loading…
Reference in New Issue
Block a user