CI: fix arch dev env install

This commit is contained in:
Pierre Kancir 2022-06-30 16:48:15 +02:00 committed by Andrew Tridgell
parent d2abd1eed9
commit 8af5763af3
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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};
)