forked from strukturag/libde265
-
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.
Merge branch 'master' of github.com:strukturag/libde265
- Loading branch information
Showing
4 changed files
with
67 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: coverity | ||
|
||
on: | ||
push: | ||
branches: [ coverity ] | ||
|
||
jobs: | ||
scan: | ||
runs-on: ubuntu-latest | ||
env: | ||
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Cache Coverity build tool | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
coverity_tool.tar.gz | ||
key: ${{ runner.os }} | ||
|
||
- name: Download Coverity build tool | ||
run: | | ||
wget -c -N https://scan.coverity.com/download/linux64 --post-data "token=$TOKEN&project=libde265" -O coverity_tool.tar.gz | ||
mkdir coverity_tool | ||
tar xzf coverity_tool.tar.gz --strip 1 -C coverity_tool | ||
- name: Install dependencies | ||
run: | | ||
./scripts/ci-before-install-linux.sh | ||
- name: Prepare CI | ||
run: | | ||
./scripts/ci-before-script.sh | ||
- name: Build with Coverity build tool | ||
run: | | ||
export PATH=`pwd`/coverity_tool/bin:$PATH | ||
cov-build --dir cov-int make | ||
- name: Submit build result to Coverity Scan | ||
run: | | ||
tar czvf libde265.tar.gz cov-int | ||
curl --form token=$TOKEN \ | ||
--form [email protected] \ | ||
--form [email protected] \ | ||
--form version="Commit $GITHUB_SHA" \ | ||
--form description="Build submitted via CI" \ | ||
https://scan.coverity.com/builds?project=libde265 |
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