Update to go1.17.5

This is now required by u-root.

Signed-off-by: Ryan O'Leary <ryanoleary@google.com>
This commit is contained in:
Ryan O'Leary 2021-12-10 12:32:23 -08:00 committed by ron minnich
parent 9dfbdfc584
commit fad7ffdfa7

View File

@ -73,14 +73,20 @@ jobs:
- name: Install dependent packages
run: |
set -ex
sudo apt-get update
sudo apt-get install gcc-aarch64-linux-gnu gcc-arm-linux-gnueabi{,hf} libelf-dev u-boot-tools
# We need this newer version of Go.
wget https://go.dev/dl/go1.17.5.linux-amd64.tar.gz
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf go1.17.5.linux-amd64.tar.gz
# Runs a set of commands using the runners shell
- name: Make ${{ matrix.mainboard }} kernel
run: |
set -ex
cd mainboards
PATH=$PATH:$GOPATH/bin
PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
cd $(echo ${{ matrix.mainboard }} | tr '-' '/')
make fetch
make flashkernel