mirror of https://github.com/ArduPilot/ardupilot
CI: fix arch dev env install
This commit is contained in:
parent
d2abd1eed9
commit
8af5763af3
|
@ -92,6 +92,7 @@ jobs:
|
|||
*"archlinux"*)
|
||||
cp /etc/skel/.bashrc /root
|
||||
cp /etc/skel/.bashrc /github/home
|
||||
git config --global --add safe.directory /__w/ardupilot/ardupilot
|
||||
Tools/environment_install/install-prereqs-arch.sh -qy
|
||||
;;
|
||||
esac
|
||||
|
@ -116,6 +117,12 @@ jobs:
|
|||
shell: 'script -q -e -c "bash {0}"'
|
||||
run: |
|
||||
source ~/.bashrc
|
||||
case ${{matrix.os}} in
|
||||
*"archlinux"*)
|
||||
export PATH=/opt/gcc-arm-none-eabi-10-2020-q4-major/bin:$PATH
|
||||
export PATH=/__w/ardupilot/ardupilot/ardupilot/Tools/autotest:$PATH
|
||||
;;
|
||||
esac
|
||||
git config --global --add safe.directory /__w/ardupilot/ardupilot
|
||||
./waf configure --board CubeOrange
|
||||
./waf plane
|
||||
|
|
|
@ -68,7 +68,7 @@ pip3 -q install --user -U $PYTHON_PKGS
|
|||
if [ ! -d $OPT/$ARM_ROOT ]; then
|
||||
(
|
||||
cd $OPT;
|
||||
sudo wget $ARM_TARBALL_URL;
|
||||
sudo wget --progress=dot:giga $ARM_TARBALL_URL;
|
||||
sudo tar xjf ${ARM_TARBALL};
|
||||
sudo rm ${ARM_TARBALL};
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue