fix & test on vanilla linux distros (#2)

* fix & test on vanilla linux distros

* add alpine and opensuse

* merge

* and void of course

* cleanup the logs

* need bash
This commit is contained in:
Adeeb Shihadeh
2026-02-22 15:58:48 -08:00
committed by GitHub
parent 4d5fd192dd
commit ac8a899219
2 changed files with 58 additions and 12 deletions

View File

@@ -37,9 +37,9 @@ URL="https://developer.arm.com/-/media/Files/downloads/gnu/${TOOLCHAIN_VERSION}/
echo "Downloading $TARBALL ..."
curl -fSL -o "$TARBALL" "$URL"
# Extract
# Extract (use Python's lzma to avoid requiring xz-utils on the host)
echo "Extracting ..."
tar xf "$TARBALL"
python3 -c "import lzma, tarfile; tarfile.open(fileobj=lzma.open('$TARBALL')).extractall()"
EXTRACT_DIR=$(ls -d arm-gnu-toolchain-*-${PLATFORM_SUFFIX}-arm-none-eabi)
SRC="$DIR/$EXTRACT_DIR"