diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index bbacba38..667700a2 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -96,7 +96,7 @@ jobs: env: RUSTDOCFLAGS: "-D warnings" - name: Clippy - run: cargo clippy --all-targets -F mxl-not-built -- -D warnings + run: cargo clippy --all-targets -F mxl-not-built -- -D warnings -W clippy::pedantic tests: name: Run the tests diff --git a/CMakeLists.txt b/CMakeLists.txt index 72b11e1c..16965c81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,6 +40,9 @@ if(ccache_executable) set(CMAKE_CXX_COMPILER_LAUNCHER ${ccache_executable}) endif() +option(BUILD_TESTS "Build the tests" OFF) +option(BUILD_TOOLS "Build the tools" ON) + # Enable testing for the project enable_testing()