mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-25 06:46:00 +00:00
CI: Move to clang-16
As this is now the stable release, move to using that now for our tests. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
d0e3378ad7
commit
d7e0678c76
3 changed files with 7 additions and 7 deletions
|
@ -2,7 +2,7 @@ variables:
|
||||||
windows_vm: windows-2019
|
windows_vm: windows-2019
|
||||||
ubuntu_vm: ubuntu-22.04
|
ubuntu_vm: ubuntu-22.04
|
||||||
macos_vm: macOS-12
|
macos_vm: macOS-12
|
||||||
ci_runner_image: trini/u-boot-gitlab-ci-runner:jammy-20230308-21Mar2023
|
ci_runner_image: trini/u-boot-gitlab-ci-runner:jammy-20230308-04Apr2023
|
||||||
# Add '-u 0' options for Azure pipelines, otherwise we get "permission
|
# Add '-u 0' options for Azure pipelines, otherwise we get "permission
|
||||||
# denied" error when it tries to "useradd -m -u 1001 vsts_azpcontainer",
|
# denied" error when it tries to "useradd -m -u 1001 vsts_azpcontainer",
|
||||||
# since our $(ci_runner_image) user is not root.
|
# since our $(ci_runner_image) user is not root.
|
||||||
|
@ -254,7 +254,7 @@ stages:
|
||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
sandbox_clang:
|
sandbox_clang:
|
||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
OVERRIDE: "-O clang-14"
|
OVERRIDE: "-O clang-16"
|
||||||
sandbox_nolto:
|
sandbox_nolto:
|
||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
BUILD_ENV: "NO_LTO=1"
|
BUILD_ENV: "NO_LTO=1"
|
||||||
|
@ -509,7 +509,7 @@ stages:
|
||||||
OVERRIDE: "-a ASAN"
|
OVERRIDE: "-a ASAN"
|
||||||
sandbox_clang_asan:
|
sandbox_clang_asan:
|
||||||
BUILDMAN: "sandbox"
|
BUILDMAN: "sandbox"
|
||||||
OVERRIDE: "-O clang-14 -a ASAN"
|
OVERRIDE: "-O clang-16 -a ASAN"
|
||||||
samsung_socfpga:
|
samsung_socfpga:
|
||||||
BUILDMAN: "samsung socfpga"
|
BUILDMAN: "samsung socfpga"
|
||||||
sun4i:
|
sun4i:
|
||||||
|
|
|
@ -10,7 +10,7 @@ default:
|
||||||
|
|
||||||
# Grab our configured image. The source for this is found
|
# Grab our configured image. The source for this is found
|
||||||
# in the u-boot tree at tools/docker/Dockerfile
|
# in the u-boot tree at tools/docker/Dockerfile
|
||||||
image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:jammy-20230308-21Mar2023
|
image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:jammy-20230308-04Apr2023
|
||||||
|
|
||||||
# We run some tests in different order, to catch some failures quicker.
|
# We run some tests in different order, to catch some failures quicker.
|
||||||
stages:
|
stages:
|
||||||
|
@ -277,7 +277,7 @@ sandbox test.py:
|
||||||
sandbox with clang test.py:
|
sandbox with clang test.py:
|
||||||
variables:
|
variables:
|
||||||
TEST_PY_BD: "sandbox"
|
TEST_PY_BD: "sandbox"
|
||||||
OVERRIDE: "-O clang-14"
|
OVERRIDE: "-O clang-16"
|
||||||
<<: *buildman_and_testpy_dfn
|
<<: *buildman_and_testpy_dfn
|
||||||
|
|
||||||
sandbox without LTO test.py:
|
sandbox without LTO test.py:
|
||||||
|
|
|
@ -12,7 +12,7 @@ ENV DEBIAN_FRONTEND=noninteractive
|
||||||
# Add LLVM repository
|
# Add LLVM repository
|
||||||
RUN apt-get update && apt-get install -y gnupg2 wget xz-utils && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update && apt-get install -y gnupg2 wget xz-utils && rm -rf /var/lib/apt/lists/*
|
||||||
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
|
||||||
RUN echo deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-14 main | tee /etc/apt/sources.list.d/llvm.list
|
RUN echo deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-16 main | tee /etc/apt/sources.list.d/llvm.list
|
||||||
|
|
||||||
# Manually install the kernel.org "Crosstool" based toolchains for gcc-12.2.0
|
# Manually install the kernel.org "Crosstool" based toolchains for gcc-12.2.0
|
||||||
RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-aarch64-linux.tar.xz | tar -C /opt -xJ
|
RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-aarch64-linux.tar.xz | tar -C /opt -xJ
|
||||||
|
@ -39,7 +39,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
binutils-dev \
|
binutils-dev \
|
||||||
bison \
|
bison \
|
||||||
build-essential \
|
build-essential \
|
||||||
clang-14 \
|
clang-16 \
|
||||||
coreutils \
|
coreutils \
|
||||||
cpio \
|
cpio \
|
||||||
cppcheck \
|
cppcheck \
|
||||||
|
|
Loading…
Add table
Reference in a new issue