|
|
@ -69,7 +69,7 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: 3.8 |
|
|
|
python-version: 3.8 |
|
|
|
- run: python -m venv python/venv |
|
|
|
- run: python -m venv python/venv |
|
|
|
- run: source python/venv/bin/activate && pip install --upgrade 'maturin>=0.11,<0.12' sphinx |
|
|
|
- run: source python/venv/bin/activate && pip install --upgrade 'maturin~=0.12' sphinx |
|
|
|
- run: source venv/bin/activate && maturin develop |
|
|
|
- run: source venv/bin/activate && maturin develop |
|
|
|
working-directory: ./python |
|
|
|
working-directory: ./python |
|
|
|
- run: source ../venv/bin/activate && python -m unittest |
|
|
|
- run: source ../venv/bin/activate && python -m unittest |
|
|
@ -87,7 +87,7 @@ jobs: |
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: 3.6 |
|
|
|
python-version: 3.6 |
|
|
|
- run: pip install 'maturin>=0.11,<0.12' |
|
|
|
- run: pip install 'maturin~=0.12' |
|
|
|
- run: maturin build |
|
|
|
- run: maturin build |
|
|
|
working-directory: ./python |
|
|
|
working-directory: ./python |
|
|
|
|
|
|
|
|
|
|
@ -100,7 +100,7 @@ jobs: |
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: 3.6 |
|
|
|
python-version: 3.6 |
|
|
|
- run: pip install 'maturin>=0.11,<0.12' |
|
|
|
- run: pip install 'maturin~=0.12' |
|
|
|
- run: maturin build --universal2 |
|
|
|
- run: maturin build --universal2 |
|
|
|
working-directory: ./python |
|
|
|
working-directory: ./python |
|
|
|
|
|
|
|
|
|
|
@ -112,6 +112,6 @@ jobs: |
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
- uses: actions/setup-python@v2 |
|
|
|
with: |
|
|
|
with: |
|
|
|
python-version: 3.6 |
|
|
|
python-version: 3.6 |
|
|
|
- run: pip install 'maturin>=0.11,<0.12' |
|
|
|
- run: pip install 'maturin~=0.12' |
|
|
|
- run: maturin build |
|
|
|
- run: maturin build |
|
|
|
working-directory: ./python |
|
|
|
working-directory: ./python |
|
|
|