build-test: Move system package installation to ci-install.sh

It's more maintainable to have the system packages listed in
ci-install.sh instead of in build-test.yaml.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2020-10-30 15:18:01 -04:00
parent fd973acd34
commit 1de7f3954e
2 changed files with 11 additions and 3 deletions

View File

@ -8,9 +8,6 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install system dependencies
run: sudo apt-get install gcc-avr avr-libc pv libmpfr-dev libgmp-dev libmpc-dev texinfo libncurses5-dev bison flex python-virtualenv virtualenv python-dev libffi-dev build-essential libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi
- name: Setup cache - name: Setup cache
uses: actions/cache@v2 uses: actions/cache@v2
with: with:

View File

@ -11,6 +11,17 @@ CACHE_DIR=${PWD}/ci_cache
mkdir -p ${BUILD_DIR} ${CACHE_DIR} mkdir -p ${BUILD_DIR} ${CACHE_DIR}
######################################################################
# Install system dependencies
######################################################################
echo -e "\n\n=============== Install system dependencies\n\n"
sudo apt-get install gcc-avr avr-libc pv libmpfr-dev libgmp-dev \
libmpc-dev texinfo libncurses5-dev bison flex python-virtualenv \
virtualenv python-dev libffi-dev build-essential \
libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi
###################################################################### ######################################################################
# Install (or build) pru gcc # Install (or build) pru gcc
###################################################################### ######################################################################