another attempt

This commit is contained in:
otaj 2022-09-28 13:02:23 +02:00
parent 152da1f82b
commit 36279be9e0
1 changed files with 4 additions and 26 deletions

View File

@ -40,26 +40,15 @@ jobs:
restore-keys: |
${{ runner.os }}-docs-test-pip-td${{ env.TIME_PERIOD }}-
- name: Install PL
- name: Install dependencies
env:
FREEZE_REQUIREMENTS: 1
PACKAGE_NAME: pytorch
run: |
sudo apt-get update
sudo apt-get install -y cmake pandoc
pip --version
# python -m pip install --upgrade --user pip
pip install -e . --quiet -r requirements/${{ matrix.pkg }}/docs.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
pip list
shell: bash
- name: Install dependencies
env:
FREEZE_REQUIREMENTS: 1
PACKAGE_NAME: ${{ matrix.pkg }}
run: |
pip install -e . --quiet -r requirements/${{ matrix.pkg }}/docs.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
pip install -r requirements/${{ matrix.pkg }}/devel.txt
pip install -e . --quiet -r requirements/${{ matrix.pkg }}/docs.txt -r requirements/${{ matrix.pkg }}/devel.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
pip list
shell: bash
@ -98,25 +87,14 @@ jobs:
restore-keys: |
${{ runner.os }}-docs-make-pip-
- name: Install PL
- name: Install dependencies
env:
FREEZE_REQUIREMENTS: 1
PACKAGE_NAME: pytorch
run: |
sudo apt-get update
sudo apt-get install -y cmake pandoc texlive-latex-extra dvipng texlive-pictures
pip --version
pip install -e . --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
pip list
shell: bash
- name: Install dependencies
env:
FREEZE_REQUIREMENTS: 1
PACKAGE_NAME: ${{ matrix.pkg }}
run: |
pip install -r requirements/${{ matrix.pkg }}/docs.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
python setup.py develop
pip install -e . --quiet -r requirements/${{ matrix.pkg }}/docs.txt --find-links https://download.pytorch.org/whl/cpu/torch_stable.html
pip list
shell: bash