I couldn’t find an example for that in the docs. Sorry.
I want to do something like this where the Python 3.8 interpreter is selected only for the ppc64le architecture and with system-site-packages activated.
language: python
os: linux
arch :
- amd64
- ppc64le
dist: focal
python:
amd64:
- "3.6"
- "3.9"
- "3.10"
ppce64le:
- "3.8_with_system_site_packages"
Or something like this
language: python
os: linux
arch :
- amd64
- ppc64le
dist: focal
python:
amd64:
- "3.6"
- "3.9"
- "3.10"
ppce64le:
- "3.8"
virtualenv:
ppce64le:
system_site_packages: true
And in result of that I need arch depended before_install
and install
sections like this
before_install:
amd64:
- python3 -m pip install PyQt5
pcc64le:
- sudo apt install python3-pyqt5