Skip to content

Bites: allow force disabling native ConfigDialog #41

Bites: allow force disabling native ConfigDialog

Bites: allow force disabling native ConfigDialog #41

Workflow file for this run

name: PIP packages
on:
push:
tags: ["v*"]
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
jobs:
linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Docker Image
run: docker build SDK -t pypi
- name: Build
run: |
docker run -e PYVER=cp310-cp310 -e SKBUILD_BUILD_OPTIONS=-j4 --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:
- uses: actions/checkout@v4
- uses: ilammy/msvc-dev-cmd@v1
with:
toolset: 14.1
- uses: actions/setup-python@v5
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
.\VulkanSDK-1.3.224.1-Installer.exe --accept-licenses --default-answer --confirm-command install
- name: Build
run: |
python -m pip install --upgrade pip==22.0.4
pip install setuptools wheel twine
pip wheel . --verbose
python -m twine upload --repository pypi *.whl
env:
VULKAN_SDK: C:\VulkanSDK\1.3.224.1
SKBUILD_BUILD_OPTIONS: -j4
macos:
runs-on: macos-12
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Build
run: |
pip install setuptools wheel twine
pip wheel . --verbose
python -m twine upload --repository pypi *.whl
env:
SKBUILD_BUILD_OPTIONS: -j3