File tree Expand file tree Collapse file tree 4 files changed +19
-14
lines changed Expand file tree Collapse file tree 4 files changed +19
-14
lines changed Original file line number Diff line number Diff line change 29
29
- L0_PERF
30
30
31
31
permissions :
32
- contents : write
33
- pull-requests : write
32
+ contents : read
34
33
35
34
jobs :
36
35
manual :
36
+ permissions :
37
+ contents : write
38
+ pull-requests : write
37
39
name : Compute Benchmarks
38
40
uses : ./.github/workflows/reusable_benchmarks.yml
39
41
with :
Original file line number Diff line number Diff line change 1
- # Coverity check
1
+ # Coverity - static analysis build. It requires Coverity's token (set in CI's secret).
2
2
name : Coverity
3
3
4
4
on :
7
7
cov_push_tarball :
8
8
description : ' Send Coverity tarball'
9
9
required : true
10
- default : ' true'
10
+ default : true
11
11
type : boolean
12
12
schedule :
13
13
- cron : ' 0 0 * * *'
@@ -18,7 +18,7 @@ permissions:
18
18
jobs :
19
19
coverity :
20
20
name : Coverity
21
- # run only on upstream; forks do not know Username/Password
21
+ # run only on upstream; forks don't have token for upstream's cov project
22
22
if : github.repository == 'oneapi-src/unified-memory-framework'
23
23
runs-on : ubuntu-latest
24
24
steps :
@@ -34,12 +34,14 @@ jobs:
34
34
sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev
35
35
36
36
- name : Download Coverity
37
- run : |
38
- wget -nv https://scan.coverity.com/download/linux64 --post-data "token=${{ secrets.COVERITY_SCAN_TOKEN }}&project=oneapi-src%2Funified-memory-framework" -O coverity_tool.tgz
37
+ run : >
38
+ wget
39
+ -O coverity_tool.tgz
40
+ -nv https://scan.coverity.com/download/linux64
41
+ --post-data "token=${{ secrets.COVERITY_SCAN_TOKEN }}&project=oneapi-src%2Funified-memory-framework"
39
42
40
43
- name : Extract Coverity
41
- run : |
42
- tar xzf coverity_tool.tgz
44
+ run : tar xzf coverity_tool.tgz
43
45
44
46
- name : Configure CMake
45
47
run : >
60
62
cov-build --dir ${{github.workspace}}/cov-int cmake --build ${{github.workspace}}/build --config Release -j$(nproc)
61
63
62
64
- name : Create tarball to analyze
63
- run : >
64
- tar czvf cov-int_umf.tgz cov-int
65
+ run : tar czvf cov-int_umf.tgz cov-int
65
66
66
67
- name : Push to Coverity Scan
67
68
if : ${{ github.event_name == 'schedule' || github.event.inputs.cov_push_tarball == 'true' }}
Original file line number Diff line number Diff line change 24
24
default : ' L0_PERF'
25
25
26
26
permissions :
27
- contents : write
28
- pull-requests : write
27
+ contents : read
29
28
30
29
env :
31
30
UMF_DIR : " ${{github.workspace}}/umf-repo"
37
36
# run only on upstream; forks will not have the HW
38
37
if : github.repository == 'oneapi-src/unified-memory-framework'
39
38
runs-on : ${{ inputs.runner }}
39
+ permissions :
40
+ contents : write
41
+ pull-requests : write
40
42
41
43
steps :
42
44
- name : Establish bench params
Original file line number Diff line number Diff line change 1
- psutil
1
+ psutil == 7.0.0
You can’t perform that action at this time.
0 commit comments