Skip to content

Commit

Permalink
Delete README.Md
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelsty authored and Raphael Sourty committed May 26, 2024
1 parent 3492ae5 commit dbb207e
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 919 deletions.
137 changes: 0 additions & 137 deletions .github/workflows/CI.yml

This file was deleted.

72 changes: 72 additions & 0 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Build and Publish Wheels

on:
push:
branches:
- main
- "release/*"

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- name: Install build dependencies
run: pip install setuptools-rust

- name: Build wheel
run: python -m pip install .

- name: Create wheel and source distribution
run: |
python setup.py bdist_wheel
python setup.py sdist
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: dist
path: dist/*

publish:
needs: build
runs-on: ubuntu-latest

steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: dist
path: dist

- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: "3.11"

- name: Install twine
run: pip install twine

- name: Publish to PyPI
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/*
9 changes: 0 additions & 9 deletions README.Md

This file was deleted.

Loading

0 comments on commit dbb207e

Please sign in to comment.