Skip to content

Commit 6a29d28

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 d0f659a commit 6a29d28

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
@@ -49,9 +49,11 @@ 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'
52+
# FIXME:
53+
# Temporarily disable including Windows options until we have CUDA enabled.
54+
# - os: 'Windows'
55+
# compiler: {c: cl, cxx: cl}
56+
# number_of_processors: '$Env:NUMBER_OF_PROCESSORS'
5557

5658
runs-on: ["DSS-${{inputs.name}}", "DSS-${{matrix.os}}"]
5759
steps:
@@ -65,10 +67,10 @@ jobs:
6567
run: .github/scripts/get_system_info.sh
6668

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

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

0 commit comments

Comments
 (0)