Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Commit

Permalink
[skip e2e] Modify build for release workflow (#691)
Browse files Browse the repository at this point in the history
Signed-off-by: Bennu-Li <[email protected]>
  • Loading branch information
Bennu-Li authored Feb 20, 2023
1 parent bb5fc9b commit 1e8920a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ jobs:
env:
ARTIFACT_NAME: ${{ env.RELEASE_NAME }}-${{ matrix.os }}
run: |
./build.sh -t Release -p tmp
mkdir -p artifacts && mv cmake_build/tmp artifacts/${{ env.ARTIFACT_NAME }}
mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_UT=OFF -DWITH_DISKANN=ON \
&& cd .. && find src -type f | grep -E "\.cc$" | xargs /usr/lib/llvm-10/share/clang/run-clang-tidy.py -quiet -p=./build
mkdir -p artifacts && mv build artifacts/${{ env.ARTIFACT_NAME }}
rm -rf artifacts/${{ env.ARTIFACT_NAME }}/share
rm -rf artifacts/${{ env.ARTIFACT_NAME }}/lib/pkgconfig
cd artifacts && tar -zcvf ${{ env.ARTIFACT_NAME }}.tar.gz ${{ env.ARTIFACT_NAME }}/
Expand Down

0 comments on commit 1e8920a

Please sign in to comment.