diff --git a/.gitea/workflows/build-hilink.yml b/.gitea/workflows/build-hilink.yml index efd9b73..709e419 100644 --- a/.gitea/workflows/build-hilink.yml +++ b/.gitea/workflows/build-hilink.yml @@ -15,15 +15,21 @@ jobs: - name: Checkout builder branch uses: actions/checkout@v4 - - name: Install Buildroot host dependencies + - name: Verify provisioned Buildroot toolchain shell: bash run: | - set -eux - sudo apt-get update - sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y \ - bash bc bison build-essential ccache cpio curl file flex gawk git \ - gzip libncurses-dev make patch perl python3 rsync sed tar tree \ - unzip wget xz-utils + set -eu + id + missing=0 + for tool in \ + bash bc bison ccache cpio curl file flex gawk gcc git gzip make \ + patch perl python3 rsync sed tar tree unzip wget xz; do + if ! command -v "$tool" >/dev/null 2>&1; then + echo "::error::Missing runner dependency: $tool" + missing=1 + fi + done + test "$missing" = 0 - name: Build exactly the HiLink URLLC profile shell: bash