diff --git a/.github/workflows/publish_to_pypi_ci.yml b/.github/workflows/publish_to_pypi_ci.yml index 28459be..f841553 100644 --- a/.github/workflows/publish_to_pypi_ci.yml +++ b/.github/workflows/publish_to_pypi_ci.yml @@ -28,7 +28,7 @@ jobs: - name: Build wheels uses: pypa/cibuildwheel@v2.16.5 env: - CIBW_ENVIRONMENT: "CMAKE_ARGS='-DPYTHON_EXECUTABLE=$(which python3.10)'" + CIBW_ENVIRONMENT: "CMAKE_ARGS='-DPYTHON_EXECUTABLE=$(which python3.10)' -DCMAKE_BUILD_TYPE=Release " CIBW_BUILD: 'cp310-manylinux_x86_64' diff --git a/pyproject.toml b/pyproject.toml index 076888a..9bbfddb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,7 +56,7 @@ where = [""] [tool.cibuildwheel] build = "cp310-manylinux_x86_64" -before-build = "cmake . -DCMAKE_BUILD_TYPE=Release && cmake --build . -j " +before-build = "cmake . && cmake --build . -j " #build = "cp3{8,9,10}-manylinux_x86_64 cp3{8,9,10}-musllinux_x86_64" #build = "cp3{8,9,10}-manylinux_x86_64" # "Programming Language :: Python :: 3.8",