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