diff --git a/.github/workflows/pip-build.yml b/.github/workflows/pip-build.yml index e42cf59768bf..09fb81950821 100644 --- a/.github/workflows/pip-build.yml +++ b/.github/workflows/pip-build.yml @@ -1,24 +1,11 @@ name: PIP packages on: push: - tags: ["v*"] + branches: [master] env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} jobs: - linux: - runs-on: ubuntu-20.04 - steps: - - uses: actions/checkout@v3 - - name: Docker Image - run: docker build SDK -t pypi - - name: Build - run: | - docker run -e PYVER=cp310-cp310 --rm -v `pwd`:/workspace pypi - f=`ls *.whl` - mv $f ${f/linux/manylinux2014} - pip3 install twine - python -m twine upload --repository pypi *.whl windows: runs-on: windows-2019 steps: @@ -29,6 +16,10 @@ jobs: - uses: actions/setup-python@v4 with: python-version: '3.10' + # see https://github.com/actions/runner-images/issues/6627#issuecomment-1328214957 + - name: Remove Perl Strawberry (Workaround) + run: rm -rf C:/Strawberry/ + shell: bash - name: Install Dependencies run: | curl -LO https://sdk.lunarg.com/sdk/download/1.3.224.1/windows/VulkanSDK-1.3.224.1-Installer.exe @@ -40,16 +31,4 @@ jobs: pip wheel . --verbose python -m twine upload --repository pypi *.whl env: - VULKAN_SDK: C:\VulkanSDK\1.3.224.1 - macos: - runs-on: macos-11 - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-python@v4 - with: - python-version: '3.10' - - name: Build - run: | - pip install setuptools wheel twine - pip wheel . --verbose - python -m twine upload --repository pypi *.whl \ No newline at end of file + VULKAN_SDK: C:\VulkanSDK\1.3.224.1 \ No newline at end of file diff --git a/setup.py b/setup.py index 66bfd2431281..ca7e75d3946c 100644 --- a/setup.py +++ b/setup.py @@ -73,7 +73,7 @@ def main(): "-DCMAKE_INSTALL_RPATH=@loader_path;@loader_path/OGRE"] version = re.search("project\(OGRE VERSION (\S+)\)", open("CMakeLists.txt").read()).group(1) - # version += ".dev0" + version += ".post1" skbuild.setup( name="ogre-python",