mirror of https://gitlab.com/pamhyr/pamhyr2
ci: Fix env install package.
parent
255f7302ea
commit
bb27d4ec20
|
|
@ -116,6 +116,7 @@ build-developers-doc:
|
||||||
- python3 -m venv doc-venv
|
- python3 -m venv doc-venv
|
||||||
- . doc-venv/bin/activate
|
- . doc-venv/bin/activate
|
||||||
- pip3 install -r ../requirements.txt
|
- pip3 install -r ../requirements.txt
|
||||||
|
- pip3 install -U -r ../requirements.txt
|
||||||
- pip3 install pdoc3
|
- pip3 install pdoc3
|
||||||
- pdoc --html .
|
- pdoc --html .
|
||||||
# Create archive
|
# Create archive
|
||||||
|
|
@ -152,6 +153,7 @@ build-linux:
|
||||||
# Setup virtual env
|
# Setup virtual env
|
||||||
- python3 -m venv linux-venv
|
- python3 -m venv linux-venv
|
||||||
- . linux-venv/bin/activate
|
- . linux-venv/bin/activate
|
||||||
|
- pip3 install -r ../requirements.txt
|
||||||
- pip3 install -U -r ../requirements.txt
|
- pip3 install -U -r ../requirements.txt
|
||||||
# Run Pyinstaller
|
# Run Pyinstaller
|
||||||
- pyinstaller -y --paths linux-venv/lib/python3.8/site-packages ../src/pamhyr.py
|
- pyinstaller -y --paths linux-venv/lib/python3.8/site-packages ../src/pamhyr.py
|
||||||
|
|
@ -222,6 +224,7 @@ build-windows:
|
||||||
- mkdir windows
|
- mkdir windows
|
||||||
- cd windows
|
- cd windows
|
||||||
# Setup env
|
# Setup env
|
||||||
|
- python -m pip install -r ..\requirements.txt
|
||||||
- python -m pip install -U -r ..\requirements.txt
|
- python -m pip install -U -r ..\requirements.txt
|
||||||
# Run Pyinstaller
|
# Run Pyinstaller
|
||||||
- pyinstaller -y ..\src\pamhyr.py
|
- pyinstaller -y ..\src\pamhyr.py
|
||||||
|
|
@ -251,8 +254,9 @@ test-pep8:
|
||||||
# Setup virtual env
|
# Setup virtual env
|
||||||
- python3 -m venv venv
|
- python3 -m venv venv
|
||||||
- . venv/bin/activate
|
- . venv/bin/activate
|
||||||
|
- pip3 install -r ../requirements.txt
|
||||||
- pip3 install -U -r ../requirements.txt
|
- pip3 install -U -r ../requirements.txt
|
||||||
- pip3 install -U pycodestyle
|
- pip3 install pycodestyle
|
||||||
- pycodestyle ../src
|
- pycodestyle ../src
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue