mirror of https://github.com/ArduPilot/ardupilot
.github: esp32_build: use default cmake package
Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
This commit is contained in:
parent
8229174a76
commit
cc754ed73f
|
@ -175,7 +175,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
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 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 cmake
|
||||||
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
|
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
|
||||||
update-alternatives --query python
|
update-alternatives --query python
|
||||||
python3 --version
|
python3 --version
|
||||||
|
@ -194,17 +194,6 @@ jobs:
|
||||||
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.11 11
|
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.11 11
|
||||||
update-alternatives --query python
|
update-alternatives --query python
|
||||||
|
|
||||||
rm -rf /usr/local/bin/cmake
|
|
||||||
sudo apt-get remove --purge --auto-remove cmake
|
|
||||||
sudo apt-get update && \
|
|
||||||
sudo apt-get install -y software-properties-common lsb-release && \
|
|
||||||
sudo apt-get clean all
|
|
||||||
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
|
|
||||||
sudo apt-add-repository "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main"
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install cmake
|
|
||||||
|
|
||||||
|
|
||||||
git submodule update --init --recursive --depth=1
|
git submodule update --init --recursive --depth=1
|
||||||
./Tools/scripts/esp32_get_idf.sh
|
./Tools/scripts/esp32_get_idf.sh
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue