Skip to content

Commit

Permalink
Issue #11 try to build wheel on cp311
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Feb 6, 2024
1 parent 5c26255 commit 5a3b8c5
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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/[email protected]_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

0 comments on commit 5a3b8c5

Please sign in to comment.