diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9320515..45cde8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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