From 5a3b8c5a616cd24f3993b0d8aa45bf8d73af9d81 Mon Sep 17 00:00:00 2001 From: Stephen Thompson Date: Tue, 6 Feb 2024 15:23:55 +0000 Subject: [PATCH] Issue #11 try to build wheel on cp311 --- .github/workflows/ci.yml | 36 +----------------------------------- 1 file changed, 1 insertion(+), 35 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d46c85e..b0c70ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,20 +42,6 @@ jobs: rm -r build rm -r install - - name: build Windows-32bit - if: matrix.os == 'windows-latest' - run: | - mkdir build - mkdir install - cd build - cmake -G "Visual Studio 17" -A Win32 -DBUILD_PYTHON:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -Dndicapi_BUILD_APPLICATIONS:BOOL=OFF -DCMAKE_INSTALL_PREFIX=../install .. - cmake --build . - cd ../ - python.exe setup.py sdist bdist_wheel --plat-name win32 - python -m twine upload -u __token__ -p ${{secrets.PYPI_API_TOKEN}} dist/* --skip-existing - rm -r build - rm -r install - - name: build ubuntu if: matrix.os == 'ubuntu-latest' run: | @@ -64,26 +50,6 @@ jobs: cmake -DBUILD_PYTHON:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -Dndicapi_BUILD_APPLICATIONS:BOOL=OFF .. make cd .. - - - name: build ubuntu manylinux - if: matrix.os == 'ubuntu-latest' - uses: RalfG/python-wheels-manylinux-build@v0.7.1-manylinux2010_x86_64 - with: - python-versions: 'cp36-cp36m cp37-cp37m cp38-cp38 cp39-cp39 cp310-cp310' - - - name: upload manylinux - if: matrix.os == 'ubuntu-latest' - run: | - python -m twine upload -u __token__ -p ${{secrets.PYPI_API_TOKEN}} dist/*-manylinux*.whl --skip-existing - - - name: build macos - if: matrix.os == 'macos-latest' - run: | - mkdir build - cd build - cmake -DBUILD_PYTHON:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -Dndicapi_BUILD_APPLICATIONS:BOOL=OFF .. - make - cd .. python setup.py sdist bdist_wheel - python -m twine upload -u __token__ -p ${{secrets.PYPI_API_TOKEN}} dist/* --skip-existing +