Skip to content

Commit d91343d

Browse files
committed
Replace Release with RelWithDebInfo
1 parent 9b7068e commit d91343d

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/reusable_gpu.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ jobs:
135135
working-directory: ${{env.BUILD_DEBUG_DIR}}
136136
run: ctest --output-on-failure --test-dir examples -C Debug
137137

138-
- name: Configure build (Release)
138+
- name: Configure build (RelWithDebInfo)
139139
run: >
140140
cmake
141141
-DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}};${{env.EXTRA_CMAKE_PATH}}"
142142
-B ${{env.BUILD_RELEASE_DIR}}
143143
-DCMAKE_INSTALL_PREFIX="${{env.INSTL_RELEASE_DIR}}"
144-
-DCMAKE_BUILD_TYPE=Release
144+
-DCMAKE_BUILD_TYPE=RelWithDebInfo
145145
-DCMAKE_C_COMPILER=${{env.C_COMPILER}}
146146
-DCMAKE_CXX_COMPILER=${{env.CXX_COMPILER}}
147147
-DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}}
@@ -158,20 +158,20 @@ jobs:
158158
-DUMF_TESTS_FAIL_ON_SKIP=ON
159159
${{ matrix.os == 'Windows' && '-DCMAKE_SUPPRESS_REGENERATION=ON' || '' }}
160160
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}}
163163

164-
- name: Run tests (Release)
164+
- name: Run tests (RelWithDebInfo)
165165
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
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
167167

168-
- name: Run examples (Release)
168+
- name: Run examples (RelWithDebInfo)
169169
working-directory: ${{env.BUILD_RELEASE_DIR}}
170-
run: ctest --output-on-failure --test-dir examples -C Release
170+
run: ctest --output-on-failure --test-dir examples -C RelWithDebInfo
171171

172-
- name: Run benchmarks (Release)
172+
- name: Run benchmarks (RelWithDebInfo)
173173
working-directory: ${{env.BUILD_RELEASE_DIR}}
174-
run: ctest --output-on-failure --test-dir benchmark -C Release --exclude-regex umf-multithreaded
174+
run: ctest --output-on-failure --test-dir benchmark -C RelWithDebInfo --exclude-regex umf-multithreaded
175175

176176
- name: "[Lin] Check coverage (Debug)"
177177
if: ${{ matrix.os == 'Ubuntu' }}

0 commit comments

Comments
 (0)