This repository has been archived by the owner on Aug 16, 2023. It is now read-only.
Fix: memory overflow for test code (#997) #1078
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Analyzer | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
analyzer: | |
name: analyzer | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Install Dependency | |
run: | | |
sudo apt update && sudo apt install -y cmake g++ gcc libopenblas-dev libaio-dev libcurl4-openssl-dev libdouble-conversion-dev libevent-dev clang-tidy python3-pip && pip3 install conan==1.58.0 | |
- name: Build & Analyzer | |
run: | | |
mkdir build && cd build && conan install .. --build=missing -o with_ut=True -o with_diskann=True -o with_asan=True && conan build .. \ | |
&& cd .. && find src -type f | grep -E "\.cc$" | xargs /usr/lib/llvm-10/share/clang/run-clang-tidy.py -quiet -p=./build/Release |