Activates venv before venv build

Also fixes toolchain.py failing silently on missing dependency.
This commit is contained in:
Andre Miras 2020-05-03 10:20:09 +02:00
parent 513efbb8b8
commit 58713e8b6e
2 changed files with 2 additions and 1 deletions

View file

@ -68,6 +68,7 @@ jobs:
pip install Cython==0.28.1
- name: Build Python & Kivy
run: |
. venv/bin/activate
python toolchain.py build python3 kivy
build_updated_recipes:

View file

@ -35,7 +35,7 @@ try:
except ImportError:
print("ERROR: Python requirements are missing")
print("To install: pip install -r requirements.txt")
sys.exit(0)
sys.exit(1)
curdir = dirname(__file__)
sys.path.insert(0, join(curdir, "tools", "external"))