[github][ci] use apt-get to fetch clang to remove a warning
This commit is contained in:
4
.github/workflows/github-ci-clang.yml
vendored
4
.github/workflows/github-ci-clang.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user