mirror of
https://github.com/google/sentencepiece.git
synced 2024-09-11 10:55:42 +03:00
build wheel from sdist for testing
This commit is contained in:
parent
f2884a17e9
commit
d6e597b391
16
.github/workflows/wheel.yml
vendored
16
.github/workflows/wheel.yml
vendored
@ -64,11 +64,19 @@ jobs:
|
||||
CIBW_SKIP: "pp* *-musllinux_*"
|
||||
CIBW_BUILD_VERBOSITY: 1
|
||||
|
||||
- name: Build sdist
|
||||
- name: Build sdist archive
|
||||
working-directory: ${{github.workspace}}/python
|
||||
run: |
|
||||
sh build_sdist.sh
|
||||
python -m pip wheel dist/sentencepiece-*.tar.gz --verbose
|
||||
run: sh build_sdist.sh
|
||||
|
||||
- name: Fetch sdist archive
|
||||
working-directory: ${{github.workspace}}/python
|
||||
id: sdist
|
||||
with:
|
||||
files: dist/*.tar.gz
|
||||
|
||||
- name: Build wheel from sdist
|
||||
working-directory: ${{github.workspace}}/python
|
||||
run: python -m pip wheel "${{ steps.sdist.outputs.paths }}" --verbose
|
||||
|
||||
- name: Copy sdist
|
||||
working-directory: ${{github.workspace}}/python
|
||||
|
Loading…
Reference in New Issue
Block a user