Skip to content

Commit

Permalink
new test
Browse files Browse the repository at this point in the history
Signed-off-by: Jianxin Xiong <[email protected]>
  • Loading branch information
j-xiong committed Feb 13, 2024
1 parent 39bfd3b commit 37823cc
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on:
schedule:
# UTC time, 'minute hour day-of-month month day-of-week'
- cron: '0 1 * * *'
workflow_dispatch:

env:
APT_PACKAGES: >-
abi-compliance-checker
Expand Down Expand Up @@ -76,19 +78,19 @@ jobs:
./autogen.sh
./configure --with-libfabric=$PWD/../install CC=clang
popd
cov-build --dir cov-int bash -c "make && make -C fabtests LDFLAGS=-L$PWD/${{ env.RDMA_CORE_PATH }}/lib"
- name: Submit results
run: |
tar czvf libfabric.tgz cov-int
curl \
--form token=${{ secrets.COVERITY_SCAN_TOKEN }} \
--form [email protected] \
--form [email protected] \
--form version="main" \
--form description="`$PWD/install/bin/fi_info -l`" \
https://scan.coverity.com/builds?project=ofiwg%2Flibfabric
- name: Upload build logs
uses: actions/upload-artifact@v3
with:
name: coverity-build-log.txt
path: cov-int/build-log.txt
cov-build --dir cov-int bash -c "make && make -C fabtests LDFLAGS=\"-L$PWD/${{ env.RDMA_CORE_PATH }}/lib -L$PWD/install/lib\""
# - name: Submit results
# run: |
# tar czvf libfabric.tgz cov-int
# curl \
# --form token=${{ secrets.COVERITY_SCAN_TOKEN }} \
# --form [email protected] \
# --form [email protected] \
# --form version="main" \
# --form description="`$PWD/install/bin/fi_info -l`" \
# https://scan.coverity.com/builds?project=ofiwg%2Flibfabric
# - name: Upload build logs
# uses: actions/upload-artifact@v3
# with:
# name: coverity-build-log.txt
# path: cov-int/build-log.txt

0 comments on commit 37823cc

Please sign in to comment.