File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 --form version="$GITHUB_SHA" \
4848 --form description="Automatic macOS build" \
4949 https://scan.coverity.com/builds?project=hidapi
50+
51+
52+ coverity-ubuntu :
53+ runs-on : ubuntu-latest
54+
55+ steps :
56+ - uses : actions/checkout@v3
57+ with :
58+ path : src
59+ - name : Install dependencies
60+ run : sudo apt install libudev-dev libusb-1.0-0-dev ninja-build
61+ - name : Configure
62+ run : |
63+ cmake -B build -S src -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DHIDAPI_WITH_TESTS=ON -DHIDAPI_BUILD_HIDTEST=ON -DCMAKE_C_COMPILER=gcc
64+ - uses : vapier/coverity-scan-action@v1
65+ with :
66+ email : ${{ secrets.COVERITY_SCAN_EMAIL }}
67+ token : ${{ secrets.COVERITY_SCAN_TOKEN }}
68+ project : hidapi
69+ command : ninja
70+ working-directory : build
71+ description : ' Automatic Linux build'
72+ - name : Backup Coverity logs
73+ uses : actions/upload-artifact@v3
74+ with :
75+ name : coverity-logs-linux
76+ path : build/cov-int
77+ retention-days : 7
You can’t perform that action at this time.
0 commit comments