Skip to content

Commit 60d5c28

Browse files
committed
fix circleci error
1 parent 7ca73ee commit 60d5c28

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ jobs:
2828
cd ~/project
2929
cmake -B /home/circleci/debug-build -DCMAKE_BUILD_TYPE=Debug -DWITH_SSL=system -DWITH_AUTHENTICATION_LDAP=ON -DWITH_ROCKSDB=ON -DCMAKE_C_COMPILER=clang-${COMPILER_VERSION} -DCMAKE_CXX_COMPILER=clang++-${COMPILER_VERSION} -DCMAKE_CXX_FLAGS="-stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-stdlib=libc++" -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DWITH_SYSTEM_LIBS=ON -DWITH_FIDO=bundled -DWITH_ZSTD=bundled -DWITH_LZ4=bundled -DWITH_PROTOBUF=bundled ~/project
3030
31+
# Generate the headers produced by comp_err (mysqld_error.h and
32+
# friends). Without them clang-tidy fails to parse any translation
33+
# unit that includes mysqld_error.h, and reports the whole file as a
34+
# compiler error instead of analysing it.
35+
cmake --build /home/circleci/debug-build --target GenError
36+
3137
# Method to fetch JSON from a Github API URL with error handling
3238
fetch_json() {
3339
local url="$1" tmp http_code curl_exit body

0 commit comments

Comments
 (0)