ci: require preprovisioned build runner
This commit is contained in:
@@ -15,15 +15,21 @@ jobs:
|
|||||||
- name: Checkout builder branch
|
- name: Checkout builder branch
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Buildroot host dependencies
|
- name: Verify provisioned Buildroot toolchain
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -eux
|
set -eu
|
||||||
sudo apt-get update
|
id
|
||||||
sudo env DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
missing=0
|
||||||
bash bc bison build-essential ccache cpio curl file flex gawk git \
|
for tool in \
|
||||||
gzip libncurses-dev make patch perl python3 rsync sed tar tree \
|
bash bc bison ccache cpio curl file flex gawk gcc git gzip make \
|
||||||
unzip wget xz-utils
|
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
|
- name: Build exactly the HiLink URLLC profile
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
Reference in New Issue
Block a user