Skip to content

Commit 6889db6

Browse files
[CI] Temporarily disable passing extra options for Windows
it's not working, as it tries to include extra Windows job... which is absent for CUDA
1 parent 584354d commit 6889db6

File tree

1 file changed

+32
-6
lines changed

1 file changed

+32
-6
lines changed

.github/workflows/reusable_gpu.yml

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ jobs:
5050
- os: 'Ubuntu'
5151
compiler: {c: gcc, cxx: g++}
5252
number_of_processors: '$(nproc)'
53-
- os: 'Windows'
54-
compiler: {c: cl, cxx: cl}
55-
number_of_processors: '$Env:NUMBER_OF_PROCESSORS'
53+
# FIXME:
54+
# Temporarily disable including Windows options until we have CUDA enabled.
55+
# - os: 'Windows'
56+
# compiler: {c: cl, cxx: cl}
57+
# number_of_processors: '$Env:NUMBER_OF_PROCESSORS'
5658

5759
runs-on: ["DSS-${{inputs.name}}", "DSS-${{matrix.os}}"]
5860
steps:
@@ -66,10 +68,10 @@ jobs:
6668
run: .github/scripts/get_system_info.sh
6769

6870
# note: disable all providers except the one being tested
69-
- name: Configure build
71+
- name: "[Lin] Configure build"
72+
if: matrix.os == 'Ubuntu'
7073
run: >
7174
cmake
72-
-DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}"
7375
-B ${{env.BUILD_DIR}}
7476
-DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
7577
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
@@ -89,8 +91,32 @@ jobs:
8991
-DUMF_TESTS_FAIL_ON_SKIP=ON
9092
${{ matrix.os == 'Ubuntu' && matrix.build_type == 'Debug' && '-DUMF_USE_COVERAGE=ON' || '' }}
9193
94+
# note: disable all providers except the one being tested
95+
- name: "[Win] Configure build"
96+
if: matrix.os == 'Windows'
97+
run: >
98+
cmake
99+
-DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}"
100+
-B ${{env.BUILD_DIR}}
101+
-DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
102+
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
103+
-DCMAKE_C_COMPILER=cl
104+
-DCMAKE_CXX_COMPILER=cl
105+
-DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}}
106+
-DUMF_BUILD_BENCHMARKS=ON
107+
-DUMF_BUILD_TESTS=ON
108+
-DUMF_BUILD_GPU_TESTS=ON
109+
-DUMF_BUILD_GPU_EXAMPLES=ON
110+
-DUMF_DEVELOPER_MODE=ON
111+
-DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON
112+
-DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON
113+
-DUMF_BUILD_CUDA_PROVIDER=OFF
114+
-DUMF_BUILD_LEVEL_ZERO_PROVIDER=OFF
115+
-DUMF_BUILD_${{inputs.name}}_PROVIDER=ON
116+
-DUMF_TESTS_FAIL_ON_SKIP=ON
117+
92118
- name: Build UMF
93-
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j ${{matrix.number_of_processors}}
119+
run: cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j8
94120

95121
- name: Run tests
96122
working-directory: ${{env.BUILD_DIR}}

0 commit comments

Comments
 (0)