forked from valkey-io/valkey
-
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.
- Loading branch information
1 parent
3a5e2b6
commit 3c7030b
Showing
4 changed files
with
106 additions
and
103 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
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 |
---|---|---|
|
@@ -8,24 +8,24 @@ on: | |
workflow_dispatch: | ||
jobs: | ||
coverity: | ||
if: github.repository == 'redis/redis' | ||
if: github.repository == 'placeholderkv/placeholderkv' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@main | ||
- name: Download and extract the Coverity Build Tool | ||
run: | | ||
wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=${{ secrets.COVERITY_SCAN_TOKEN }}&project=redis-unstable" -O cov-analysis-linux64.tar.gz | ||
wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=${{ secrets.COVERITY_SCAN_TOKEN }}&project=placeholderkv-unstable" -O cov-analysis-linux64.tar.gz | ||
mkdir cov-analysis-linux64 | ||
tar xzf cov-analysis-linux64.tar.gz --strip 1 -C cov-analysis-linux64 | ||
- name: Install Redis dependencies | ||
- name: Install placeholderkv dependencies | ||
run: sudo apt install -y gcc tcl8.6 tclx procps libssl-dev | ||
- name: Build with cov-build | ||
run: cov-analysis-linux64/bin/cov-build --dir cov-int make | ||
- name: Upload the result | ||
run: | | ||
tar czvf cov-int.tgz cov-int | ||
curl \ | ||
--form project=redis-unstable \ | ||
--form project=placeholderkv-unstable \ | ||
--form email=${{ secrets.COVERITY_SCAN_EMAIL }} \ | ||
--form token=${{ secrets.COVERITY_SCAN_TOKEN }} \ | ||
--form [email protected] \ | ||
|
Oops, something went wrong.