Skip to content

Commit c134d8c

Browse files
committed
DEBUG run L0 CI ONLY
Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 29ade78 commit c134d8c

File tree

2 files changed

+0
-160
lines changed

2 files changed

+0
-160
lines changed

.github/workflows/pr_push.yml

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -16,64 +16,5 @@ 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-
Sanitizers:
35-
needs: [FastBuild]
36-
uses: ./.github/workflows/reusable_sanitizers.yml
37-
Qemu:
38-
needs: [FastBuild]
39-
uses: ./.github/workflows/reusable_qemu.yml
40-
Benchmarks:
41-
needs: [Build]
42-
uses: ./.github/workflows/reusable_benchmarks.yml
43-
ProxyLib:
44-
needs: [Build]
45-
uses: ./.github/workflows/reusable_proxy_lib.yml
4619
GPU:
47-
needs: [Build]
4820
uses: ./.github/workflows/reusable_gpu.yml
49-
Valgrind:
50-
needs: [Build]
51-
uses: ./.github/workflows/reusable_valgrind.yml
52-
MultiNuma:
53-
needs: [Build]
54-
uses: ./.github/workflows/reusable_multi_numa.yml
55-
Coverage:
56-
# total coverage (on upstream only)
57-
if: github.repository == 'oneapi-src/unified-memory-framework'
58-
needs: [Build, DevDax, GPU, MultiNuma, Qemu, ProxyLib]
59-
uses: ./.github/workflows/reusable_coverage.yml
60-
secrets: inherit
61-
with:
62-
trigger: "${{github.event_name}}"
63-
Coverage_partial:
64-
# partial coverage (on forks)
65-
if: github.repository != 'oneapi-src/unified-memory-framework'
66-
needs: [Build, Qemu, ProxyLib]
67-
uses: ./.github/workflows/reusable_coverage.yml
68-
CodeQL:
69-
needs: [Build]
70-
permissions:
71-
contents: read
72-
security-events: write
73-
uses: ./.github/workflows/reusable_codeql.yml
74-
Trivy:
75-
needs: [Build]
76-
permissions:
77-
contents: read
78-
security-events: write
79-
uses: ./.github/workflows/reusable_trivy.yml

.github/workflows/reusable_gpu.yml

Lines changed: 0 additions & 101 deletions
Original file line numberDiff line numberDiff line change
@@ -105,104 +105,3 @@ jobs:
105105
- name: Run examples
106106
working-directory: ${{env.BUILD_DIR}}
107107
run: ctest --output-on-failure --test-dir examples -C ${{matrix.build_type}}
108-
109-
- name: Run benchmarks
110-
working-directory: ${{env.BUILD_DIR}}
111-
run: ctest --output-on-failure --test-dir benchmark -C ${{matrix.build_type}} --exclude-regex umf-bench-multithreaded
112-
113-
- name: Check coverage
114-
if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }}
115-
working-directory: ${{env.BUILD_DIR}}
116-
run: |
117-
export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
118-
echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME"
119-
../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME
120-
mkdir -p ${{env.COVERAGE_DIR}}
121-
mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}}
122-
123-
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
124-
if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }}
125-
with:
126-
name: ${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
127-
path: ${{env.COVERAGE_DIR}}
128-
129-
gpu-CUDA:
130-
name: CUDA
131-
env:
132-
COVERAGE_NAME : "exports-coverage-gpu-CUDA"
133-
# run only on upstream; forks will not have the HW
134-
if: github.repository == 'oneapi-src/unified-memory-framework'
135-
strategy:
136-
matrix:
137-
shared_library: ['ON', 'OFF']
138-
build_type: ['Debug', 'Release']
139-
# TODO add windows
140-
os: ['Ubuntu']
141-
include:
142-
- os: 'Ubuntu'
143-
compiler: {c: gcc, cxx: g++}
144-
number_of_processors: '$(nproc)'
145-
146-
runs-on: ["DSS-CUDA", "DSS-${{matrix.os}}"]
147-
steps:
148-
- name: Checkout
149-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
150-
with:
151-
fetch-depth: 0
152-
153-
- name: Get information about platform
154-
if: matrix.os == 'Ubuntu'
155-
run: .github/scripts/get_system_info.sh
156-
157-
- name: Configure build for Ubuntu
158-
if: matrix.os == 'Ubuntu'
159-
run: >
160-
cmake -B ${{env.BUILD_DIR}}
161-
-DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
162-
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
163-
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
164-
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
165-
-DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}}
166-
-DUMF_BUILD_BENCHMARKS=ON
167-
-DUMF_BUILD_TESTS=ON
168-
-DUMF_BUILD_GPU_TESTS=ON
169-
-DUMF_BUILD_GPU_EXAMPLES=ON
170-
-DUMF_FORMAT_CODE_STYLE=OFF
171-
-DUMF_DEVELOPER_MODE=ON
172-
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
173-
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
174-
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF
175-
-DUMF_BUILD_CUDA_PROVIDER=ON
176-
-DUMF_TESTS_FAIL_ON_SKIP=ON
177-
${{ matrix.build_type == 'Debug' && '-DUMF_USE_COVERAGE=ON' || '' }}
178-
179-
- name: Build UMF
180-
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j ${{matrix.number_of_processors}}
181-
182-
- name: Run tests
183-
working-directory: ${{env.BUILD_DIR}}
184-
run: ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
185-
186-
- name: Run examples
187-
working-directory: ${{env.BUILD_DIR}}
188-
run: ctest --output-on-failure --test-dir examples -C ${{matrix.build_type}}
189-
190-
- name: Run benchmarks
191-
working-directory: ${{env.BUILD_DIR}}
192-
run: ctest --output-on-failure --test-dir benchmark -C ${{matrix.build_type}} --exclude-regex umf-bench-multithreaded
193-
194-
- name: Check coverage
195-
if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }}
196-
working-directory: ${{env.BUILD_DIR}}
197-
run: |
198-
export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
199-
echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME"
200-
../scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME
201-
mkdir -p ${{env.COVERAGE_DIR}}
202-
mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}}
203-
204-
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
205-
if: ${{ matrix.build_type == 'Debug' && matrix.os == 'Ubuntu' }}
206-
with:
207-
name: ${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
208-
path: ${{env.COVERAGE_DIR}}

0 commit comments

Comments
 (0)