Skip to content

Commit

Permalink
workflows: Convert to Ubuntu 20.04 for build test
Browse files Browse the repository at this point in the history
This also updates to the latest version of pru-gcc.

Signed-off-by: Kevin O'Connor <[email protected]>
  • Loading branch information
KevinOConnor committed Feb 10, 2023
1 parent 5ffe5d6 commit df1137e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2

Expand Down
6 changes: 3 additions & 3 deletions scripts/ci-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ mkdir -p ${BUILD_DIR} ${CACHE_DIR}
######################################################################

echo -e "\n\n=============== Install system dependencies\n\n"
PKGS="virtualenv python-dev libffi-dev build-essential"
PKGS="virtualenv python2-dev libffi-dev build-essential"
PKGS="${PKGS} gcc-avr avr-libc"
PKGS="${PKGS} libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi"
PKGS="${PKGS} pv libmpfr-dev libgmp-dev libmpc-dev texinfo bison flex"
Expand All @@ -35,10 +35,10 @@ if [ ! -f ${PRU_FILE} ]; then
cd ${BUILD_DIR}
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
git clone https://github.com/dinuxbg/gnupru -b 2018.03-beta-rc3 --depth 1
git clone https://github.com/dinuxbg/gnupru -b 2023.01 --depth 1
cd gnupru
export PREFIX=${PRU_DIR}
./download-and-patch.sh 2>&1 | pv -nli 30 > ${BUILD_DIR}/gnupru-build.log
./download-and-prepare.sh 2>&1 | pv -nli 30 > ${BUILD_DIR}/gnupru-build.log
./build.sh 2>&1 | pv -nli 30 >> ${BUILD_DIR}/gnupru-build.log
cd ${BUILD_DIR}
tar cfz ${PRU_FILE} pru-gcc/
Expand Down

0 comments on commit df1137e

Please sign in to comment.