File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,13 +128,8 @@ jobs:
128128 - name : Build wheels
129129 run : cibuildwheel --output-dir dist
130130 env :
131- CIBW_SKIP : " *-win32 *-manylinux_i686 pp3*" # Skip 32 bit, pypy
132131 CIBW_ARCHS_LINUX : ${{ matrix.cibw_archs_linux }}
133132 # Fully test the build wheels again.
134- CIBW_TEST_REQUIRES : " pytest"
135- # Simple test that requires the project to be build correctly
136- CIBW_TEST_COMMAND : >-
137- pytest {project}/tests/
138133 - name : Build sdist
139134 if : ${{runner.os == 'Linux' && matrix.cibw_archs_linux == 'x86_64'}}
140135 run : |
Original file line number Diff line number Diff line change @@ -63,3 +63,15 @@ sequali = [
6363
6464[tool .setuptools_scm ]
6565write_to = " src/sequali/_version.py"
66+
67+ [tool .cibuildwheel .linux .environment ]
68+ CFLAGS = " -O3 -DNDEBUG"
69+
70+ [tool .cibuildwheel .macos .environment ]
71+ CFLAGS = " -O3 -DNDEBUG"
72+
73+ [tool .cibuildwheel ]
74+ test-requires = " pytest"
75+ test-command = " pytest {project}/tests/"
76+ skip = " *-win32 *-manylinux_i686 pp3*" # Skip 32 bit, pypy
77+ build-verbosity = 1
You can’t perform that action at this time.
0 commit comments