CI added GitHub actions

This commit is contained in:
Frank Morgner
2022-01-18 17:47:36 +01:00
parent 24c502f152
commit 111eb86d3d
5 changed files with 231 additions and 0 deletions

22
.github/workflows/coverity.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Coverity Scan
# We only want to test master or explicitly via coverity branch
on:
push:
branches: [master, coverity]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- run: .github/build-virtualsmartcard.sh coverity
- run: .github/build-ccid.sh coverity
- run: .github/build-pcsc-relay.sh coverity
- uses: vapier/coverity-scan-action@v0
with:
project: frankmorgner%2Fvsmartcard
token: ${{ secrets.COVERITY_SCAN_TOKEN }}
email: 'frankmorgner@gmail.com'
command: 'make -C $GITHUB_WORKSPACE/virtualsmartcard; make -C $GITHUB_WORKSPACE/ccid; make -C $GITHUB_WORKSPACE/pcsc-relay'