Skip to content

Commit 14f9b35

Browse files
committed
chore: see if we can switch CI to ubuntu 24.04
1 parent 202e6f7 commit 14f9b35

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.docker/Dockerfile

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# syntax=docker/dockerfile:1
22
ARG ARCH=amd64
3-
FROM $ARCH/ubuntu:23.10
4-
RUN apt update && apt install -y gnupg wget software-properties-common
3+
FROM $ARCH/ubuntu:24.04
4+
RUN apt update && apt install -y gnupg wget software-properties-common apt-utils
5+
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
56
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
67
RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ jammy main'
78
RUN apt install -y \
@@ -11,9 +12,12 @@ RUN apt install -y \
1112
g++-12 \
1213
gcc-13 \
1314
g++-13 \
15+
gcc-14 \
16+
g++-14 \
1417
clang-15 \
1518
clang-16 \
1619
clang-17 \
20+
clang-18 \
1721
git \
1822
vim \
1923
zstd \

.docker/build-linux.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ esac
3131

3232
case "-$BUILD_TYPE-" in
3333
*-gcc-*)
34-
export CC=gcc-13 CXX=g++-13
34+
export CC=gcc-14 CXX=g++-14
3535
export COMPILER=gcc
3636
;;
3737
*-oldgcc-*)
3838
export CC=gcc-11 CXX=g++-11
3939
;;
4040
*-clang-*)
41-
export CC=clang-17 CXX=clang++-17
41+
export CC=clang-18 CXX=clang++-18
4242
export COMPILER=clang
4343
;;
4444
*-oldclang-*)
@@ -114,9 +114,9 @@ if [[ "-$BUILD_TYPE-" == *-coverage-* ]]; then
114114
unset LLVM_PROFILE_FILE
115115
rm -rf /tmp-runner/coverage
116116
mkdir -p /tmp-runner/coverage
117-
llvm-profdata-17 merge -sparse profile/* -o dwarfs.profdata
117+
llvm-profdata-18 merge -sparse profile/* -o dwarfs.profdata
118118
for binary in mkdwarfs dwarfs dwarfsck dwarfsextract *_test ricepp/ricepp_test; do
119-
llvm-cov-17 show -instr-profile=dwarfs.profdata $binary >/tmp-runner/coverage/$(basename $binary).txt
119+
llvm-cov-18 show -instr-profile=dwarfs.profdata $binary >/tmp-runner/coverage/$(basename $binary).txt
120120
done
121121
fi
122122

0 commit comments

Comments
 (0)