Remove note about M1 not working from README #203
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
name: Build manylinux1 wheels | |
on: [push] | |
jobs: | |
build_sdist: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- 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: ${{ secrets.PYPI_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
run: | | |
twine upload dist/fugashi*.tar.gz | |
build_linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: build array of wheels | |
uses: ./.github/workflows/actions/build-manylinux/ | |
- name: Upload Wheels | |
uses: actions/upload-artifact@v1 | |
with: | |
name: manylinux2014-wheels | |
path: manylinux2014-wheels | |
- name: Publish to PyPI if tagged | |
if: startsWith(github.ref, 'refs/tags') | |
env: | |
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
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@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- 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@v1 | |
with: | |
name: manylinux-aarch64-wheels | |
path: manylinux-aarch64-wheels | |
- name: Publish to PyPI if tagged | |
if: startsWith(github.ref, 'refs/tags') | |
env: | |
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} | |
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | |
run: | | |
python --version | |
pip --version | |
python -m pip install --upgrade pip | |
pip install twine setuptools-scm | |
twine upload manylinux-aarch64-wheels/fugashi*whl |