@@ -135,13 +135,13 @@ jobs:
135
135
working-directory : ${{env.BUILD_DEBUG_DIR}}
136
136
run : ctest --output-on-failure --test-dir examples -C Debug
137
137
138
- - name : Configure build (Release )
138
+ - name : Configure build (RelWithDebInfo )
139
139
run : >
140
140
cmake
141
141
-DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}};${{env.EXTRA_CMAKE_PATH}}"
142
142
-B ${{env.BUILD_RELEASE_DIR}}
143
143
-DCMAKE_INSTALL_PREFIX="${{env.INSTL_RELEASE_DIR}}"
144
- -DCMAKE_BUILD_TYPE=Release
144
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
145
145
-DCMAKE_C_COMPILER=${{env.C_COMPILER}}
146
146
-DCMAKE_CXX_COMPILER=${{env.CXX_COMPILER}}
147
147
-DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}}
@@ -158,46 +158,9 @@ jobs:
158
158
-DUMF_TESTS_FAIL_ON_SKIP=ON
159
159
${{ matrix.os == 'Windows' && '-DCMAKE_SUPPRESS_REGENERATION=ON' || '' }}
160
160
161
- - name : Build UMF (Release )
162
- run : cmake --build ${{env.BUILD_RELEASE_DIR}} --config Release -j ${{env.PROCS}}
161
+ - name : Build UMF (RelWithDebInfo )
162
+ run : cmake --build ${{env.BUILD_RELEASE_DIR}} --config RelWithDebInfo -j ${{env.PROCS}}
163
163
164
- - name : Run tests (Release )
164
+ - name : Run tests (RelWithDebInfo )
165
165
working-directory : ${{env.BUILD_RELEASE_DIR}}
166
- run : for i in {1..1000}; do echo ">>> ITERATION no. ${i}" ; UMF_LOG="level:debug;flush:debug;output:stderr;pid:yes" ./test/test_provider_level_zero_dlopen_global || exit 1; date; done
167
-
168
- - name : Run examples (Release)
169
- working-directory : ${{env.BUILD_RELEASE_DIR}}
170
- run : ctest --output-on-failure --test-dir examples -C Release
171
-
172
- - name : Run benchmarks (Release)
173
- working-directory : ${{env.BUILD_RELEASE_DIR}}
174
- run : ctest --output-on-failure --test-dir benchmark -C Release --exclude-regex umf-multithreaded
175
-
176
- - name : " [Lin] Check coverage (Debug)"
177
- if : ${{ matrix.os == 'Ubuntu' }}
178
- working-directory : ${{env.BUILD_DEBUG_DIR}}
179
- run : |
180
- export COVERAGE_FILE_NAME=${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
181
- echo "COVERAGE_FILE_NAME: $COVERAGE_FILE_NAME"
182
- ${{github.workspace}}/scripts/coverage/coverage_capture.sh $COVERAGE_FILE_NAME
183
- mkdir -p ${{env.COVERAGE_DIR}}
184
- mv ./$COVERAGE_FILE_NAME ${{env.COVERAGE_DIR}}
185
-
186
- - name : " [Lin] Upload coverage"
187
- uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
188
- if : ${{ matrix.os == 'Ubuntu' }}
189
- with :
190
- name : ${{env.COVERAGE_NAME}}-shared-${{matrix.shared_library}}
191
- path : ${{env.COVERAGE_DIR}}
192
-
193
- - name : " [Win] Prepare vcpkg cache"
194
- if : matrix.os == 'Windows' && steps.cache.outputs.cache-hit != 'true'
195
- run : |
196
- Compress-Archive -Path ${{github.workspace}}/vcpkg/packages -DestinationPath ${{github.workspace}}/vcpkg_pkgs_cache.zip -Force -CompressionLevel Fastest
197
-
198
- - name : " [Win] Save vcpkg cache"
199
- if : matrix.os == 'Windows' && steps.cache.outputs.cache-hit != 'true'
200
- uses : actions/cache/save@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
201
- with :
202
- path : ${{github.workspace}}/vcpkg_pkgs_cache.zip
203
- key : ${{ steps.cache.outputs.cache-primary-key }}
166
+ run : for i in {1..1000}; do echo ">>> ITERATION no. ${i}" ; UMF_LOG="level:debug;flush:debug;output:stderr;pid:yes" gdb -ex r -ex bt -ex q --args ./test/test_provider_level_zero_dlopen_global || exit 1; date; done
0 commit comments