Skip to content

Add 3.13 builds

Add 3.13 builds #224

Workflow file for this run

name: Build manylinux1 wheels
on: [push]
jobs:
build_sdist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '>=3.8 <3.14'
- name: install MeCab
run: |
git clone --depth=1 https://github.com/taku910/mecab.git
cd mecab/mecab
./configure --enable-utf8-only
make
sudo make install
cd ../..
- name: build sdist
run: |
python -m pip install --upgrade pip
pip install twine setuptools-scm build
python -m build
- name: upload to pypi if tagged
if: startsWith(github.ref, 'refs/tags')
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine upload dist/fugashi*.tar.gz
build_linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '>=3.8 <3.14'
- name: build array of wheels
uses: ./.github/workflows/actions/build-manylinux/
- name: Upload Wheels
uses: actions/upload-artifact@v4
with:
name: manylinux2014-wheels
path: manylinux2014-wheels
- name: Publish to PyPI if tagged
if: startsWith(github.ref, 'refs/tags')
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python --version
pip --version
python -m pip install --upgrade pip
pip install twine setuptools-scm
twine upload manylinux2014-wheels/fugashi*whl
build_linux-aarch64:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '>=3.8 <3.14'
- name: Set up QEMU
id: qemu
uses: docker/setup-qemu-action@v1
- uses: ./.github/workflows/actions/build-manylinux-aarch64/
- name: Upload Wheels
uses: actions/upload-artifact@v4
with:
name: manylinux-aarch64-wheels
path: manylinux-aarch64-wheels
- name: Publish to PyPI if tagged
if: startsWith(github.ref, 'refs/tags')
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python --version
pip --version
python -m pip install --upgrade pip
pip install twine setuptools-scm
twine upload manylinux-aarch64-wheels/fugashi*whl