forked from rust-lang/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
76: Update CI to Debian bookworm. r=ptersilie a=vext01 Co-authored-by: Edd Barrett <vext01@gmail.com>
- Loading branch information
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
FROM debian:bullseye | ||
FROM debian:bookworm | ||
ARG CI_UID | ||
RUN useradd -m -u ${CI_UID} ci | ||
RUN apt-get update && \ | ||
apt-get -y install clang-13 make curl cmake python3-distutils git \ | ||
apt-get -y install clang-15 make curl cmake python3-distutils git \ | ||
ninja-build | ||
WORKDIR /ci | ||
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang-13 999 | ||
RUN update-alternatives --set cc /usr/bin/clang-13 | ||
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-13 999 | ||
RUN update-alternatives --set c++ /usr/bin/clang++-13 | ||
RUN ln -sf /usr/bin/clang-13 /usr/bin/clang | ||
RUN ln -sf /usr/bin/clang++-13 /usr/bin/clang++ | ||
RUN update-alternatives --install /usr/bin/cc cc /usr/bin/clang-15 999 | ||
RUN update-alternatives --set cc /usr/bin/clang-15 | ||
RUN update-alternatives --install /usr/bin/c++ c++ /usr/bin/clang++-15 999 | ||
RUN update-alternatives --set c++ /usr/bin/clang++-15 | ||
RUN ln -sf /usr/bin/clang-15 /usr/bin/clang | ||
RUN ln -sf /usr/bin/clang++-15 /usr/bin/clang++ | ||
RUN chown ${CI_UID}:${CI_UID} . | ||
COPY --chown=${CI_UID}:${CI_UID} . . | ||
CMD sh -x .buildbot.sh |