.github: remove use of python (as opposed to python3)
This commit is contained in:
parent
ced25ec0d7
commit
cbed802ff6
4
.github/workflows/cygwin_build.yml
vendored
4
.github/workflows/cygwin_build.yml
vendored
@ -188,8 +188,8 @@ jobs:
|
||||
shell: C:\cygwin\bin\bash.exe -eo pipefail '{0}'
|
||||
run: >-
|
||||
ln -sf /usr/bin/python3.7 /usr/bin/python && ln -sf /usr/bin/pip3.7 /usr/bin/pip &&
|
||||
python -m pip install --progress-bar off empy==3.3.4 pexpect &&
|
||||
python -m pip install --progress-bar off dronecan --upgrade &&
|
||||
python3 -m pip install --progress-bar off empy==3.3.4 pexpect &&
|
||||
python3 -m pip install --progress-bar off dronecan --upgrade &&
|
||||
cp /usr/bin/ccache /usr/local/bin/ &&
|
||||
cd /usr/local/bin && ln -s ccache /usr/local/bin/gcc &&
|
||||
ln -s ccache /usr/local/bin/g++ &&
|
||||
|
6
.github/workflows/esp32_build.yml
vendored
6
.github/workflows/esp32_build.yml
vendored
@ -178,7 +178,7 @@ jobs:
|
||||
sudo apt-get install git wget libncurses-dev flex bison gperf python3 python3-pip python3-venv python3-setuptools python3-serial python3-gevent python3-cryptography python3-future python3-pyparsing python3-pyelftools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
|
||||
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
|
||||
update-alternatives --query python
|
||||
python --version
|
||||
python3 --version
|
||||
pip3 install gevent
|
||||
|
||||
# we actualy want 3.11 .. but the above only gave us 3.10, not ok with esp32 builds.
|
||||
@ -188,7 +188,7 @@ jobs:
|
||||
sudo apt-get install python3 python3-pip python3-venv python3-setuptools python3-serial python3-cryptography python3-future python3-pyparsing python3-pyelftools
|
||||
update-alternatives --query python
|
||||
pip3 install gevent
|
||||
python --version
|
||||
python3 --version
|
||||
python3.11 --version
|
||||
which python3.11
|
||||
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.11 11
|
||||
@ -229,7 +229,7 @@ jobs:
|
||||
./install.sh
|
||||
source ./export.sh
|
||||
cd ../..
|
||||
python -m pip install --progress-bar off future lxml pymavlink MAVProxy pexpect flake8 geocoder empy==3.3.4 dronecan
|
||||
python3 -m pip install --progress-bar off future lxml pymavlink MAVProxy pexpect flake8 geocoder empy==3.3.4 dronecan
|
||||
which cmake
|
||||
./waf configure --board ${{matrix.config}}
|
||||
echo './waf configure --board ${{matrix.config}}' >> $GITHUB_STEP_SUMMARY
|
||||
|
Loading…
Reference in New Issue
Block a user