From a8c9985704311aaa99482c2decd2abfb2c3fa017 Mon Sep 17 00:00:00 2001 From: Hermes Date: Sat, 26 Sep 2026 14:33:52 +0200 Subject: [PATCH] ci: require preprovisioned build runner --- .gitea/workflows/build-hilink.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) 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