forked from antgroup/vsag
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
solve the asan ci's omp compile problem
Signed-off-by: LHT129 <[email protected]>
- Loading branch information
Showing
1 changed file
with
12 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,14 +24,18 @@ jobs: | |
container: | ||
image: vsaglib/vsag:ubuntu | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Load Cache | ||
uses: actions/[email protected] | ||
with: | ||
path: ./build/ | ||
key: build-${{ hashFiles('./CMakeLists.txt') }}-${{ hashFiles('./.circleci/fresh_ci_cache.commit') }} | ||
# - uses: actions/checkout@v4 | ||
# - name: Load Cache | ||
# uses: actions/[email protected] | ||
# with: | ||
# path: ./build/ | ||
# key: build-${{ hashFiles('./CMakeLists.txt') }}-${{ hashFiles('./.circleci/fresh_ci_cache.commit') }} | ||
- name: Make Asan | ||
run: make asan | ||
run: | | ||
export CC=`which gcc` | ||
export CXX=`which g++` | ||
# rm -rf /lib/x86_64-linux-gnu/libomp.so.5 | ||
make asan | ||
- name: Save Test | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|
@@ -60,6 +64,7 @@ jobs: | |
path: ./build/ | ||
- name: Do Asan Test In ${{ matrix.test_type }} | ||
run: | | ||
# rm -rf /lib/x86_64-linux-gnu/libomp.so.5 | ||
chmod +x ./build/tests/${{ matrix.test_type }} | ||
./build/tests/${{ matrix.test_type }} -d yes ${UT_FILTER} -a --order rand --allow-running-no-tests -o log && cat log | ||
|
||
|