mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-19 10:20:17 -06:00
ci: Add Github Actions workflow for coverity build
This commit is contained in:
31
.github/workflows/coverity.yml
vendored
Normal file
31
.github/workflows/coverity.yml
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
name: Coverity
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [coverity_scan]
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Coverity Scan
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install qttools5-dev libqt5scintilla2-dev libqcustomplot-dev libsqlite3-dev libqt5svg5 libsqlcipher-dev qt5-default
|
||||
- name: Configure cmake
|
||||
run: |
|
||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_TESTING=ON -Dsqlcipher=1 .
|
||||
- name: Build and scan
|
||||
uses: vapier/coverity-scan-action@v0
|
||||
with:
|
||||
project: sqlitebrowser%2Fsqlitebrowser
|
||||
token: ${{ secrets.COVERITY_TOKEN }}
|
||||
email: 'github@mkleusberg.de'
|
||||
command: make
|
||||
Reference in New Issue
Block a user