@@ -74,66 +74,67 @@ jobs:
74
74
run : |
75
75
ctest --output-on-failure
76
76
77
- windows-build :
78
- env :
79
- VCPKG_PATH : " ${{github.workspace}}/build/vcpkg/packages/hwloc_x64-windows;${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows"
80
- strategy :
81
- matrix :
82
- # TODO restore clang-cl tests
83
- # {c: clang-cl, cxx: clang-cl}
84
- compiler : [{c: cl, cxx: cl}]
85
- # Only ASAN is supported
86
- sanitizers : [{asan: ON}]
87
- name : Sanitizers (windows-latest, compilers=${{matrix.compiler.c}}/${{matrix.compiler.cxx}}, asan=${{matrix.sanitizers.asan}})
88
- runs-on : windows-latest
89
-
90
- steps :
91
- - name : Checkout
92
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
93
- with :
94
- fetch-depth : 0
95
-
96
- # Ensure that the required environment is set
97
- # Note: No need to specify version, the latest one will be used and should work fine
98
- - name : Setup MSVC dev command prompt
99
- uses : TheMrMilchmann/setup-msvc-dev@fb19abb8a41b3cf0340f5d1be17d420309232be6 # v3.0.1
100
- with :
101
- arch : x64
102
-
103
- - name : Initialize vcpkg
104
- uses : lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
105
- with :
106
- vcpkgGitCommitId : ea2a964f9303270322cf3f2d51c265ba146c422d # 1.04.2025
107
- vcpkgDirectory : ${{env.BUILD_DIR}}/vcpkg
108
- vcpkgJsonGlob : ' **/vcpkg.json'
109
-
110
- - name : Install dependencies
111
- run : vcpkg install --triplet x64-windows
112
- shell : pwsh
113
-
114
- - name : Configure build
115
- run : >
116
- cmake
117
- -B ${{env.BUILD_DIR}}
118
- -DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
119
- -DCMAKE_C_COMPILER=${{matrix.compiler.c}}
120
- -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
121
- -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}"
122
- -DUMF_BUILD_SHARED_LIBRARY=OFF
123
- -DUMF_FORMAT_CODE_STYLE=OFF
124
- -DUMF_DEVELOPER_MODE=OFF
125
- -DUMF_USE_ASAN=${{matrix.sanitizers.asan}}
126
- -DUMF_BUILD_EXAMPLES=ON
127
- -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON
128
- -DUMF_BUILD_CUDA_PROVIDER=OFF
129
- -DUMF_TESTS_FAIL_ON_SKIP=ON
130
-
131
- - name : Build UMF
132
- run : cmake --build ${{env.BUILD_DIR}} --config Debug -j $Env:NUMBER_OF_PROCESSORS
133
-
134
- - name : Run tests
135
- working-directory : ${{env.BUILD_DIR}}
136
- env :
137
- ASAN_OPTIONS : allocator_may_return_null=1
138
- TSAN_OPTIONS : allocator_may_return_null=1
139
- run : ctest -C Debug --output-on-failure
77
+ # TODO restore ASAN tests on Windows
78
+ # windows-build:
79
+ # env:
80
+ # VCPKG_PATH: "${{github.workspace}}/build/vcpkg/packages/hwloc_x64-windows;${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows"
81
+ # strategy:
82
+ # matrix:
83
+ #
84
+ # # {c: clang-cl, cxx: clang-cl}
85
+ # compiler: [{c: cl, cxx: cl}]
86
+ # # Only ASAN is supported
87
+ # sanitizers: [{asan: OFF}]
88
+ # name: Sanitizers (windows-latest, compilers=${{matrix.compiler.c}}/${{matrix.compiler.cxx}}, asan=${{matrix.sanitizers.asan}})
89
+ # runs-on: windows-latest
90
+ #
91
+ # steps:
92
+ # - name: Checkout
93
+ # uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
94
+ # with:
95
+ # fetch-depth: 0
96
+ #
97
+ # # Ensure that the required environment is set
98
+ # # Note: No need to specify version, the latest one will be used and should work fine
99
+ # - name: Setup MSVC dev command prompt
100
+ # uses: TheMrMilchmann/setup-msvc-dev@fb19abb8a41b3cf0340f5d1be17d420309232be6 # v3.0.1
101
+ # with:
102
+ # arch: x64
103
+ #
104
+ # - name: Initialize vcpkg
105
+ # uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
106
+ # with:
107
+ # vcpkgGitCommitId: ea2a964f9303270322cf3f2d51c265ba146c422d # 1.04.2025
108
+ # vcpkgDirectory: ${{env.BUILD_DIR}}/vcpkg
109
+ # vcpkgJsonGlob: '**/vcpkg.json'
110
+ #
111
+ # - name: Install dependencies
112
+ # run: vcpkg install --triplet x64-windows
113
+ # shell: pwsh
114
+ #
115
+ # - name: Configure build
116
+ # run: >
117
+ # cmake
118
+ # -B ${{env.BUILD_DIR}}
119
+ # -DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
120
+ # -DCMAKE_C_COMPILER=${{matrix.compiler.c}}
121
+ # -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
122
+ # -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}"
123
+ # -DUMF_BUILD_SHARED_LIBRARY=OFF
124
+ # -DUMF_FORMAT_CODE_STYLE=OFF
125
+ # -DUMF_DEVELOPER_MODE=OFF
126
+ # -DUMF_USE_ASAN=${{matrix.sanitizers.asan}}
127
+ # -DUMF_BUILD_EXAMPLES=ON
128
+ # -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON
129
+ # -DUMF_BUILD_CUDA_PROVIDER=OFF
130
+ # -DUMF_TESTS_FAIL_ON_SKIP=ON
131
+ #
132
+ # - name: Build UMF
133
+ # run: cmake --build ${{env.BUILD_DIR}} --config Debug -j $Env:NUMBER_OF_PROCESSORS
134
+ #
135
+ # - name: Run tests
136
+ # working-directory: ${{env.BUILD_DIR}}
137
+ # env:
138
+ # ASAN_OPTIONS: allocator_may_return_null=1
139
+ # TSAN_OPTIONS: allocator_may_return_null=1
140
+ # run: ctest -C Debug --output-on-failure
0 commit comments