| 1 |
name: coverity-linux-and-python-report |
| 2 |
|
| 3 |
on: [workflow_dispatch, workflow_call] |
| 4 |
|
| 5 |
permissions: |
| 6 |
contents: read |
| 7 |
|
| 8 |
jobs: |
| 9 |
build: |
| 10 |
|
| 11 |
runs-on: ci-kw-linux |
| 12 |
if: ${{ github.repository != 'intel/pcm' }} |
| 13 |
|
| 14 |
steps: |
| 15 |
- name: Harden Runner |
| 16 |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 |
| 17 |
with: |
| 18 |
egress-policy: audit |
| 19 |
|
| 20 |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 |
| 21 |
with: |
| 22 |
submodules: recursive |
| 23 |
|
| 24 |
- name: coverity-python |
| 25 |
run: | |
| 26 |
ci-cov-python.sh |
| 27 |
|
| 28 |
- name: coverity-linux |
| 29 |
run: | |
| 30 |
mkdir build |
| 31 |
cd build |
| 32 |
cmake .. |
| 33 |
ci-cov-linux.sh |
| 34 |
|
| 35 |
- name: coverity-linux-and-python-report |
| 36 |
run: | |
| 37 |
ci-cov-linux-report.sh PCM.linux.and.python |
| 38 |
|
| 39 |
- name: upload-artifact |
| 40 |
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4 |
| 41 |
with: |
| 42 |
name: coverity-linux-and-python-report-${{ github.sha }} |
| 43 |
path: "*-Report.pdf" |