Skip to content

Commit 540c16e

Browse files
committed
DEBUG CI
1 parent 32e83ae commit 540c16e

File tree

2 files changed

+7
-89
lines changed

2 files changed

+7
-89
lines changed

.github/workflows/pr_push.yml

Lines changed: 0 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -16,75 +16,8 @@ permissions:
1616
contents: read
1717

1818
jobs:
19-
CodeChecks:
20-
uses: ./.github/workflows/reusable_checks.yml
21-
DocsBuild:
22-
uses: ./.github/workflows/reusable_docs_build.yml
23-
FastBuild:
24-
name: Fast builds
25-
needs: [CodeChecks, DocsBuild]
26-
uses: ./.github/workflows/reusable_fast.yml
27-
Build:
28-
name: Basic builds
29-
needs: [FastBuild]
30-
uses: ./.github/workflows/reusable_basic.yml
31-
DevDax:
32-
needs: [FastBuild]
33-
uses: ./.github/workflows/reusable_dax.yml
34-
MultiNuma:
35-
needs: [FastBuild]
36-
uses: ./.github/workflows/reusable_multi_numa.yml
3719
L0:
38-
needs: [Build]
3920
uses: ./.github/workflows/reusable_gpu.yml
4021
with:
4122
name: "LEVEL_ZERO"
4223
shared_lib: "['ON']"
43-
CUDA:
44-
needs: [Build]
45-
uses: ./.github/workflows/reusable_gpu.yml
46-
with:
47-
name: "CUDA"
48-
shared_lib: "['ON']"
49-
Sanitizers:
50-
needs: [FastBuild]
51-
uses: ./.github/workflows/reusable_sanitizers.yml
52-
QEMU:
53-
needs: [FastBuild]
54-
uses: ./.github/workflows/reusable_qemu.yml
55-
with:
56-
short_run: true
57-
Benchmarks:
58-
needs: [Build]
59-
uses: ./.github/workflows/reusable_benchmarks.yml
60-
ProxyLib:
61-
needs: [Build]
62-
uses: ./.github/workflows/reusable_proxy_lib.yml
63-
Valgrind:
64-
needs: [Build]
65-
uses: ./.github/workflows/reusable_valgrind.yml
66-
Coverage:
67-
# total coverage (on upstream only)
68-
if: github.repository == 'oneapi-src/unified-memory-framework'
69-
needs: [Build, DevDax, L0, CUDA, MultiNuma, QEMU, ProxyLib]
70-
uses: ./.github/workflows/reusable_coverage.yml
71-
secrets: inherit
72-
with:
73-
trigger: "${{github.event_name}}"
74-
Coverage_partial:
75-
# partial coverage (on forks)
76-
if: github.repository != 'oneapi-src/unified-memory-framework'
77-
needs: [Build, QEMU, ProxyLib]
78-
uses: ./.github/workflows/reusable_coverage.yml
79-
CodeQL:
80-
needs: [Build]
81-
permissions:
82-
contents: read
83-
security-events: write
84-
uses: ./.github/workflows/reusable_codeql.yml
85-
Trivy:
86-
needs: [Build]
87-
permissions:
88-
contents: read
89-
security-events: write
90-
uses: ./.github/workflows/reusable_trivy.yml

.github/workflows/reusable_gpu.yml

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ on:
1212
os:
1313
description: A list of OSes
1414
type: string
15-
default: "['Ubuntu', 'Windows']"
15+
default: "['Ubuntu']"
1616
build_type:
1717
description: A list of build types
1818
type: string
19-
default: "['Debug', 'Release']"
19+
default: "['Debug']"
2020
shared_lib:
2121
description: A list of options for building shared library
2222
type: string
@@ -49,9 +49,6 @@ jobs:
4949
- os: 'Ubuntu'
5050
compiler: {c: gcc, cxx: g++}
5151
number_of_processors: '$(nproc)'
52-
- os: 'Windows'
53-
compiler: {c: cl, cxx: cl}
54-
number_of_processors: '$Env:NUMBER_OF_PROCESSORS'
5552

5653
runs-on: ["DSS-${{inputs.name}}", "DSS-${{matrix.os}}"]
5754
steps:
@@ -105,28 +102,16 @@ jobs:
105102

106103
- name: Run tests
107104
working-directory: ${{env.BUILD_DIR}}
108-
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
105+
run: ctest -C ${{matrix.build_type}} -V -R alone
109106

110107
- name: Run examples
111108
working-directory: ${{env.BUILD_DIR}}
112109
run: ctest --output-on-failure --test-dir examples -C ${{matrix.build_type}}
113110

114-
- name: Run benchmarks
111+
- name: Run benchmarks DEBUG
115112
working-directory: ${{env.BUILD_DIR}}
116-
run: ctest --output-on-failure --test-dir benchmark -C ${{matrix.build_type}} --exclude-regex umf-bench-multithreaded
113+
run: UMF_LOG="level:info;flush:info;output:stderr;pid:yes" ./benchmark/umf-bench-ubench
117114

118-
- name: Check coverage
119-
if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }}
115+
- name: Run benchmarks
120116
working-directory: ${{env.BUILD_DIR}}
121-
run: |
122-
export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
123-
echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME"
124-
../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME
125-
mkdir -p ${{env.COVERAGE_DIR}}
126-
mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}}
127-
128-
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
129-
if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }}
130-
with:
131-
name: ${{env.COVERAGE_NAME}}-${{matrix.os}}-${{matrix.build_type}}-shared-${{matrix.shared_library}}
132-
path: ${{env.COVERAGE_DIR}}
117+
run: ctest --output-on-failure --test-dir benchmark -C ${{matrix.build_type}} --exclude-regex umf-bench-multithreaded

0 commit comments

Comments
 (0)