-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9726523
commit 3fed7e3
Showing
3 changed files
with
32 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,63 +31,60 @@ jobs: | |
|
||
|
||
build_wheels: | ||
name: Build Wheels for ${{ matrix.os }} | ||
name: Build Python ${{ matrix.python-version }} for ${{ matrix.os }} | ||
runs-on: ${{ matrix.os }} | ||
needs: versioning | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, macOS-11, windows-2022] | ||
|
||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
python-version: ["39", "310", "311", "312"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: 'main' | ||
- uses: actions/setup-python@v3 | ||
|
||
- name: Setup Docker | ||
if: matrix.os != 'windows-2022' | ||
uses: crazy-max/[email protected] | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
version: 23.0.1 | ||
|
||
python-version: 3.x | ||
- name: Setup QEMU | ||
if: matrix.os != 'windows-2022' | ||
uses: docker/[email protected] | ||
|
||
- name: Install CIBuildWheel | ||
if: matrix.os == 'ubuntu-latest' # We only need QEMU for Linux builds | ||
uses: docker/setup-qemu-action@v3 | ||
- name: Install cibuildwheel | ||
run: python -m pip install cibuildwheel | ||
|
||
- name: Build wheels | ||
run: python -m cibuildwheel | ||
|
||
- uses: actions/upload-artifact@v3 | ||
run: cibuildwheel --output-dir wheelhouse | ||
env: | ||
CIBW_BUILD: cp${{ matrix.python-version }}-* | ||
- name: Upload wheels | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} | ||
path: ./wheelhouse/*.whl | ||
|
||
overwrite: true | ||
|
||
publish_python: | ||
name: Publish Python | ||
runs-on: ubuntu-20.04 | ||
needs: build_wheels | ||
runs-on: ubuntu-20.04 | ||
environment: | ||
name: pypi | ||
url: https://pypi.org/p/ucall | ||
url: https://pypi.org/p/stringzilla | ||
permissions: | ||
id-token: write | ||
|
||
steps: | ||
- name: Download artifacts | ||
uses: actions/download-artifact@v3.0.2 | ||
uses: actions/download-artifact@v4 | ||
with: | ||
path: ./dist/ | ||
# unpacks all CIBW artifacts into dist/ | ||
pattern: cibw-* | ||
path: dist | ||
merge-multiple: true | ||
|
||
- name: Publish to PyPi | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
packages_dir: ./dist/artifact | ||
packages-dir: dist | ||
verbose: true | ||
print_hash: true | ||
|
||
print-hash: true | ||
|
||
deploy_docs: | ||
name: Deploy Docs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,7 @@ def run(self): | |
name=__lib_name__, | ||
version=__version__, | ||
|
||
author='Ashot Vardanian', | ||
author='Ash Vardanian', | ||
author_email='[email protected]', | ||
url='https://github.com/unum-cloud/ucall', | ||
description='Up to 100x Faster FastAPI. JSON-RPC with io_uring, SIMD-acceleration, and pure CPython bindings', | ||
|