Skip to content

Commit 7ba8c5a

Browse files
committed
Add DNDEBUG flag
1 parent 272b7ed commit 7ba8c5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,14 @@ jobs:
217217
PYTHON_ISAL_BUILD_CACHE=True
218218
# This is in the docker container. So probably a '/tmp' will be available
219219
PYTHON_ISAL_BUILD_CACHE_FILE=/tmp/build_cache
220-
CFLAGS=-g0
220+
FLAGS="-g0 -DNDEBUG"
221221
CIBW_ENVIRONMENT_WINDOWS: >-
222222
PYTHON_ISAL_BUILD_CACHE=True
223223
PYTHON_ISAL_BUILD_CACHE_FILE=${{ runner.temp }}\build_cache
224224
CIBW_ENVIRONMENT_MACOS: >-
225225
PYTHON_ISAL_BUILD_CACHE=True
226226
PYTHON_ISAL_BUILD_CACHE_FILE=${{ runner.temp }}/build_cache
227-
CFLAGS=-g0
227+
CFLAGS="-g0 -DNDEBUG"
228228
- name: Build sdist
229229
if: ${{runner.os == 'Linux' && matrix.cibw_archs_linux == 'x86_64'}}
230230
run: |

0 commit comments

Comments
 (0)