50
50
- os : ' Ubuntu'
51
51
compiler : {c: gcc, cxx: g++}
52
52
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'
56
58
57
59
runs-on : ["DSS-${{inputs.name}}", "DSS-${{matrix.os}}"]
58
60
steps :
@@ -66,10 +68,10 @@ jobs:
66
68
run : .github/scripts/get_system_info.sh
67
69
68
70
# note: disable all providers except the one being tested
69
- - name : Configure build
71
+ - name : " [Lin] Configure build"
72
+ if : matrix.os == 'Ubuntu'
70
73
run : >
71
74
cmake
72
- -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}"
73
75
-B ${{env.BUILD_DIR}}
74
76
-DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
75
77
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
89
91
-DUMF_TESTS_FAIL_ON_SKIP=ON
90
92
${{ matrix.os == 'Ubuntu' && matrix.build_type == 'Debug' && '-DUMF_USE_COVERAGE=ON' || '' }}
91
93
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
+
92
118
- 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
94
120
95
121
- name : Run tests
96
122
working-directory : ${{env.BUILD_DIR}}
0 commit comments