CI: fix arch dev env install
This commit is contained in:
parent
d2abd1eed9
commit
8af5763af3
7
.github/workflows/test_environment.yml
vendored
7
.github/workflows/test_environment.yml
vendored
@ -92,6 +92,7 @@ jobs:
|
|||||||
*"archlinux"*)
|
*"archlinux"*)
|
||||||
cp /etc/skel/.bashrc /root
|
cp /etc/skel/.bashrc /root
|
||||||
cp /etc/skel/.bashrc /github/home
|
cp /etc/skel/.bashrc /github/home
|
||||||
|
git config --global --add safe.directory /__w/ardupilot/ardupilot
|
||||||
Tools/environment_install/install-prereqs-arch.sh -qy
|
Tools/environment_install/install-prereqs-arch.sh -qy
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -116,6 +117,12 @@ jobs:
|
|||||||
shell: 'script -q -e -c "bash {0}"'
|
shell: 'script -q -e -c "bash {0}"'
|
||||||
run: |
|
run: |
|
||||||
source ~/.bashrc
|
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
|
git config --global --add safe.directory /__w/ardupilot/ardupilot
|
||||||
./waf configure --board CubeOrange
|
./waf configure --board CubeOrange
|
||||||
./waf plane
|
./waf plane
|
||||||
|
@ -68,7 +68,7 @@ pip3 -q install --user -U $PYTHON_PKGS
|
|||||||
if [ ! -d $OPT/$ARM_ROOT ]; then
|
if [ ! -d $OPT/$ARM_ROOT ]; then
|
||||||
(
|
(
|
||||||
cd $OPT;
|
cd $OPT;
|
||||||
sudo wget $ARM_TARBALL_URL;
|
sudo wget --progress=dot:giga $ARM_TARBALL_URL;
|
||||||
sudo tar xjf ${ARM_TARBALL};
|
sudo tar xjf ${ARM_TARBALL};
|
||||||
sudo rm ${ARM_TARBALL};
|
sudo rm ${ARM_TARBALL};
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user