Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,13 @@ on:
- L0_PERF

permissions:
contents: write
pull-requests: write
contents: read

jobs:
manual:
permissions:
contents: write
pull-requests: write
name: Compute Benchmarks
uses: ./.github/workflows/reusable_benchmarks.yml
with:
Expand Down
19 changes: 10 additions & 9 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Coverity check
# Coverity - static analysis build. It requires Coverity's token (set in CI's secret).
name: Coverity

on:
Expand All @@ -7,7 +7,7 @@ on:
cov_push_tarball:
description: 'Send Coverity tarball'
required: true
default: 'true'
default: true
type: boolean
schedule:
- cron: '0 0 * * *'
Expand All @@ -18,7 +18,7 @@ permissions:
jobs:
coverity:
name: Coverity
# run only on upstream; forks do not know Username/Password
# run only on upstream; forks don't have token for upstream's cov project
if: github.repository == 'oneapi-src/unified-memory-framework'
runs-on: ubuntu-latest
steps:
Expand All @@ -34,12 +34,14 @@ jobs:
sudo apt-get install -y cmake hwloc libhwloc-dev libnuma-dev libtbb-dev

- name: Download Coverity
run: |
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
run: >
wget
-O coverity_tool.tgz
-nv https://scan.coverity.com/download/linux64
--post-data "token=${{ secrets.COVERITY_SCAN_TOKEN }}&project=oneapi-src%2Funified-memory-framework"

- name: Extract Coverity
run: |
tar xzf coverity_tool.tgz
run: tar xzf coverity_tool.tgz

- name: Configure CMake
run: >
Expand All @@ -60,8 +62,7 @@ jobs:
cov-build --dir ${{github.workspace}}/cov-int cmake --build ${{github.workspace}}/build --config Release -j$(nproc)

- name: Create tarball to analyze
run: >
tar czvf cov-int_umf.tgz cov-int
run: tar czvf cov-int_umf.tgz cov-int

- name: Push to Coverity Scan
if: ${{ github.event_name == 'schedule' || github.event.inputs.cov_push_tarball == 'true' }}
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/reusable_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ on:
default: 'L0_PERF'

permissions:
contents: write
pull-requests: write
contents: read

env:
UMF_DIR: "${{github.workspace}}/umf-repo"
Expand All @@ -37,6 +36,9 @@ jobs:
# run only on upstream; forks will not have the HW
if: github.repository == 'oneapi-src/unified-memory-framework'
runs-on: ${{ inputs.runner }}
permissions:
contents: write
pull-requests: write

steps:
- name: Establish bench params
Expand Down
2 changes: 1 addition & 1 deletion scripts/qemu/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
psutil
psutil==7.0.0
Loading