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:
parent
fd973acd34
commit
1de7f3954e
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
Loading…
Reference in New Issue