diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 280fb9efda..26f07f5d88 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -179,6 +179,11 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 + - name: Run build + run: | + mkdir build && cd build + cmake .. -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DBUILD_JAVA=OFF + cmake --build . - uses: cpp-linter/cpp-linter-action@v2.13.3 id: linter continue-on-error: true @@ -191,8 +196,7 @@ jobs: lines-changed-only: true thread-comments: true ignore: 'build|cmake_modules|conan|dev|docker|examples|java|site' - database: build/compile_commands.json - extra-args: #-Wno-unused-parameter + database: build - name: Fail fast?! if: steps.linter.outputs.checks-failed != 0 run: | diff --git a/CMakeLists.txt b/CMakeLists.txt index ae061f58eb..0d569ea6b3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -87,7 +87,7 @@ option(ORC_PACKAGE_KIND option(ORC_ENABLE_CLANG_TOOLS "Enable Clang tools" - ON) + OFF) # Make sure that a build type is selected if (NOT CMAKE_BUILD_TYPE)