[github][ci] use apt-get to fetch clang to remove a warning

This commit is contained in:
Travis Geiselbrecht
2024-11-07 08:20:53 +00:00
parent 4102844048
commit d1579678ab

View File

@@ -44,7 +44,7 @@ jobs:
- name: compute toolchain
shell: bash
run: |
sudo apt install clang-${{ matrix.toolchain-ver }} lld-${{ matrix.toolchain-ver }}
sudo apt-get install -y clang-${{ matrix.toolchain-ver }} lld-${{ matrix.toolchain-ver }}
GCC_TOOLCHAIN_PREFIX=$(make list-toolchain | grep TOOLCHAIN_PREFIX | tail -1 | cut -d ' ' -f 3)
# Map the GCC toolchain prefix to a clang --target argument:
CLANG_TRIPLE=$(echo "${GCC_TOOLCHAIN_PREFIX}" | sed 's/-elf-/-unknown-elf/g')
@@ -72,7 +72,7 @@ jobs:
if: ${{ matrix.project == 'qemu-virt-arm64-test' }}
shell: bash
run: |
env -i DEBIAN_FRONTEND=noninteractive sudo apt install -y qemu-system-arm
env -i DEBIAN_FRONTEND=noninteractive sudo apt-get install -y qemu-system-arm
- name: unittest
if: ${{ matrix.project == 'qemu-virt-arm64-test' }}
shell: bash