Skip to content

Commit

Permalink
[BACKPORT] Build web code before CIBW when deploying to PyPI (#3014) (
Browse files Browse the repository at this point in the history
  • Loading branch information
wjsi authored May 10, 2022
1 parent e550ae4 commit e9b8e79
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pypi-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
- name: Check out code
uses: actions/checkout@v2

- name: Build web for Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
git reset --hard
pip install -r ci/requirements-wheel.txt
python setup.py build_web
- name: Build wheels
uses: pypa/[email protected]
env:
Expand All @@ -32,7 +39,7 @@ jobs:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1

- name: Build source
if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 'auto'}}
if: ${{ matrix.os == 'ubuntu-latest' && matrix.arch == 'auto' }}
run: |
git reset --hard
pip install -r ci/requirements-wheel.txt
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ install_requires =

[options.packages.find]
exclude =
benchmarks*
*.tests.*
*.tests

Expand Down

0 comments on commit e9b8e79

Please sign in to comment.