~cnx/palace

b1ebc878a50549ff3546e7322e84782ad4610073 — Nguyễn Gia Phong 7 months ago c147a30 main 0.2.5
Let tox build wheels for coverage
1 files changed, 7 insertions(+), 11 deletions(-)

M .build.yml
M .build.yml => .build.yml +7 -11
@@ 31,14 31,14 @@ tasks:
      sudo cmake --build alure/build --parallel `nproc` --target install
  - build: |
      sudo pyenv/plugins/python-build/install.sh
      for minor in $(seq 6 9)
      for version in 3.{6..9}
      do
        pyenv/bin/pyenv install --list |
          grep \\\s3\\\.$minor\\\. |
          grep \\\s$version\\\. |
          tail -1 |
          xargs -I{} sudo python-build {} /usr/local
        python3.$minor -m pip install --upgrade --user pip
        python3.$minor -m pip wheel --wheel-dir=palace/dist --no-deps ./palace
        python$version -m pip install --upgrade --user pip
        python$version -m pip wheel --wheel-dir=palace/dist --no-deps ./palace
      done
  - repair: |
      python3 -m pip install auditwheel


@@ 48,13 48,7 @@ tasks:
      done
  - test: |
      python3 -m pip install tox
      for wheel in manylinux/palace-*.whl
      do
        if [[ $wheel =~ -cp([0-9]+)- ]]
        then
          python3 -m tox -c palace -e py${BASH_REMATCH[1]} --installpkg=$wheel
        fi
      done
      python3 -m tox -c palace --parallel
  - upload: |
      if [[ $(git -C palace tag --points-at HEAD) ]]
      then


@@ 64,5 58,7 @@ tasks:
environment:
  AUDITWHEEL_PLAT: manylinux_2_24_x86_64
  PIP_PROGRESS_BAR: 'off'
  TOXENV: py36,py37,py38,py39
  TOX_PARALLEL_NO_SPINNER: 1
secrets:
  - d5fcfb32-28a9-4a3c-9012-aa68b4b887ff