mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-30 20:19:21 +00:00
Re-activate other builds
This commit is contained in:
90
.github/workflows/python-release.yml
vendored
90
.github/workflows/python-release.yml
vendored
@ -13,16 +13,16 @@ env:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
# create_wheels_manylinux:
|
create_wheels_manylinux:
|
||||||
# runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
# name: Create wheels for manylinux
|
name: Create wheels for manylinux
|
||||||
# container: quay.io/pypa/manylinux1_x86_64
|
container: quay.io/pypa/manylinux1_x86_64
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
# - name: Build and audit wheels
|
- name: Build and audit wheels
|
||||||
# working-directory: ./bindings/python
|
working-directory: ./bindings/python
|
||||||
# run: sh build-wheels.sh
|
run: sh build-wheels.sh
|
||||||
|
|
||||||
create_wheels_windows_32bit:
|
create_wheels_windows_32bit:
|
||||||
name: Create wheels for windows 32-bit
|
name: Create wheels for windows 32-bit
|
||||||
@ -67,48 +67,48 @@ jobs:
|
|||||||
aws s3 sync --exact-timestamps ./bindings/python/dist "s3://tokenizers-releases/python/$GITHUB_SHA"
|
aws s3 sync --exact-timestamps ./bindings/python/dist "s3://tokenizers-releases/python/$GITHUB_SHA"
|
||||||
|
|
||||||
|
|
||||||
# create_wheels_others_64bit:
|
create_wheels_others_64bit:
|
||||||
# name: Create wheels for other OSes
|
name: Create wheels for other OSes
|
||||||
# runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# os: [windows-latest, macos-10.15]
|
os: [windows-latest, macos-10.15]
|
||||||
# python: [3.5, 3.6, 3.7, 3.8]
|
python: [3.5, 3.6, 3.7, 3.8]
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout repository
|
- name: Checkout repository
|
||||||
# uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
|
||||||
# - name: Install Rust
|
- name: Install Rust
|
||||||
# uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
# with:
|
with:
|
||||||
# toolchain: nightly-2019-11-01
|
toolchain: nightly
|
||||||
# override: true
|
override: true
|
||||||
|
|
||||||
# - name: Install Python
|
- name: Install Python
|
||||||
# uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
# with:
|
with:
|
||||||
# python-version: ${{ matrix.python }}
|
python-version: ${{ matrix.python }}
|
||||||
# architecture: x64
|
architecture: x64
|
||||||
|
|
||||||
# - name: Install dependencies
|
- name: Install dependencies
|
||||||
# run: |
|
run: |
|
||||||
# # On old versions of python there is an old version of setuptools already installed
|
# On old versions of python there is an old version of setuptools already installed
|
||||||
# pip install setuptools wheel setuptools-rust --ignore-installed --force-reinstall
|
pip install setuptools wheel setuptools-rust --ignore-installed --force-reinstall
|
||||||
|
|
||||||
# - name: Build wheel
|
- name: Build wheel
|
||||||
# working-directory: ./bindings/python
|
working-directory: ./bindings/python
|
||||||
# run: python setup.py bdist_wheel
|
run: python setup.py bdist_wheel
|
||||||
|
|
||||||
# - name: Rename wheels
|
- name: Rename wheels
|
||||||
# shell: bash
|
shell: bash
|
||||||
# working-directory: ./bindings/python/dist
|
working-directory: ./bindings/python/dist
|
||||||
# run: for file in *.whl ; do mv $file ${file//macosx_10_15/macosx_10_10} ; done
|
run: for file in *.whl ; do mv $file ${file//macosx_10_15/macosx_10_10} ; done
|
||||||
|
|
||||||
# - name: Upload wheels
|
- name: Upload wheels
|
||||||
# shell: bash
|
shell: bash
|
||||||
# run: |
|
run: |
|
||||||
# pip install awscli
|
pip install awscli
|
||||||
# aws s3 sync --exact-timestamps ./bindings/python/dist "s3://tokenizers-releases/python/$GITHUB_SHA"
|
aws s3 sync --exact-timestamps ./bindings/python/dist "s3://tokenizers-releases/python/$GITHUB_SHA"
|
||||||
|
|
||||||
# upload_package:
|
# upload_package:
|
||||||
# name: Upload package to PyPi
|
# name: Upload package to PyPi
|
||||||
|
Reference in New Issue
Block a user