diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-10-30 15:18:01 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-10-30 15:30:48 -0400 |
commit | 1de7f3954e82bbb66c9062fb343e0d5844e65a32 (patch) | |
tree | 7d1d4eba45225db9af043e7ce0434be8ff539155 | |
parent | fd973acd34175d3bc9349db6f3101b927e33f390 (diff) | |
download | kutter-1de7f3954e82bbb66c9062fb343e0d5844e65a32.tar.gz kutter-1de7f3954e82bbb66c9062fb343e0d5844e65a32.tar.xz kutter-1de7f3954e82bbb66c9062fb343e0d5844e65a32.zip |
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>
-rw-r--r-- | .github/workflows/build-test.yaml | 3 | ||||
-rwxr-xr-x | scripts/ci-install.sh | 11 |
2 files changed, 11 insertions, 3 deletions
diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index bcd98fd3..4a3e0ced 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -8,9 +8,6 @@ jobs: steps: - 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 uses: actions/cache@v2 with: diff --git a/scripts/ci-install.sh b/scripts/ci-install.sh index 7a536c81..2d3cd9b5 100755 --- a/scripts/ci-install.sh +++ b/scripts/ci-install.sh @@ -12,6 +12,17 @@ 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 ###################################################################### |