Skip to content

Commit f08bf91

Browse files
[CI] Get rid of includes in matrix (in gpu workflow)
It enforces adding extra Windows job, and the BMG runner on Windows is not enabled yet
1 parent c6d2e15 commit f08bf91

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/reusable_gpu.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,13 @@ jobs:
4242
CUDA_PATH: "C:/cuda"
4343
COVERAGE_NAME : "exports-coverage-${{inputs.provider}}-${{inputs.runner}}"
4444
# run only on upstream; forks will not have the HW
45-
# also, disable Windows for L0-BMG, as such runner is not enabled yet
4645
if: github.repository == 'oneapi-src/unified-memory-framework'
4746
strategy:
4847
fail-fast: false
4948
matrix:
5049
shared_library: ${{ fromJSON(inputs.shared_lib)}}
5150
os: ${{ fromJSON(inputs.os)}}
5251
build_type: ${{ fromJSON(inputs.build_type)}}
53-
include:
54-
- os: 'Ubuntu'
55-
compiler: {c: gcc, cxx: g++}
56-
number_of_processors: '$(nproc)'
57-
- os: 'Windows'
58-
compiler: {c: cl, cxx: cl}
59-
number_of_processors: '$Env:NUMBER_OF_PROCESSORS'
6052

6153
runs-on: ["DSS-${{inputs.runner}}", "DSS-${{matrix.os}}"]
6254
steps:
@@ -90,8 +82,6 @@ jobs:
9082
-B ${{env.BUILD_DIR}}
9183
-DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
9284
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
93-
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
94-
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
9585
-DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}}
9686
-DUMF_BUILD_BENCHMARKS=ON
9787
-DUMF_BUILD_BENCHMARKS_MT=ON
@@ -108,7 +98,7 @@ jobs:
10898
${{ matrix.os == 'Windows' && '-DCMAKE_SUPPRESS_REGENERATION=ON' || '' }}
10999
110100
- name: Build UMF
111-
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j ${{matrix.number_of_processors}}
101+
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j12
112102

113103
- name: Run tests
114104
working-directory: ${{env.BUILD_DIR}}

0 commit comments

Comments
 (0)