|
|
|
@ -85,7 +85,7 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- uses: actions/checkout@v2 |
|
|
|
|
- run: sed -i 's/path="..\/lib", //g' python/Cargo.toml |
|
|
|
|
- run: docker run --rm -v $(pwd):/io konstin2/maturin publish -u __token__ -p ${{ secrets.PYPI_PASSWORD }} |
|
|
|
|
- run: docker run --rm -v $(pwd):/io konstin2/maturin:v0.9.4 publish -u __token__ -p ${{ secrets.PYPI_PASSWORD }} |
|
|
|
|
working-directory: ./python |
|
|
|
|
publish_pypi_mac_windows: |
|
|
|
|
runs-on: ${{ matrix.os }} |
|
|
|
@ -98,8 +98,8 @@ jobs: |
|
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
|
with: |
|
|
|
|
python-version: 3.6 |
|
|
|
|
- run: pip install maturin |
|
|
|
|
- run: maturin publish --no-sdist -u __token__ -p ${{ secrets.PYPI_PASSWORD }} |
|
|
|
|
- run: pip install 'maturin>=0.9.2,<0.10' |
|
|
|
|
- run: maturin publish --universal2 --no-sdist -u __token__ -p ${{ secrets.PYPI_PASSWORD }} |
|
|
|
|
working-directory: ./python |
|
|
|
|
publish_npm: |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
@ -128,7 +128,7 @@ jobs: |
|
|
|
|
with: |
|
|
|
|
python-version: 3.8 |
|
|
|
|
- run: python -m venv python/venv |
|
|
|
|
- run: source python/venv/bin/activate && pip install --upgrade pip maturin sphinx |
|
|
|
|
- run: source python/venv/bin/activate && pip install --upgrade pip 'maturin>=0.9.2,<0.10' sphinx |
|
|
|
|
- run: source venv/bin/activate && maturin develop |
|
|
|
|
working-directory: ./python |
|
|
|
|
- run: source ../venv/bin/activate && sphinx-build -M doctest . build |
|
|
|
|