btrfs-progs: ci: enable gcc 13 on tumbleweed

GCC 13 is now available, add it as default compiler to tumbleweed image
to catch new warnings.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2023-02-18 17:01:14 +01:00
parent f629b5041b
commit 0a464d4155
2 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,8 @@ RUN zypper install -y --no-recommends glibc-devel-static libblkid-devel-static \
libcom_err-devel-static libext2fs-devel-static libuuid-devel-static \
libzstd-devel-static lzo-devel-static zlib-devel-static
RUN zypper install -y --no-recommends gcc13
COPY ./test-build .
COPY ./run-tests .
COPY ./devel.tar.gz .

View File

@ -8,6 +8,11 @@ url="${urlbase}/${fname}"
shift
for i in gcc gcc-nm cc cpp gcc-ar gcc-ranlib lto-dump; do
ln -sf /usr/bin/${i}-13 /usr/bin/${i}
done
gcc --version
echo "btrfs-progs build test of branch ${branch}"
cd /tmp
if [ -f "$fname" -a -s "$fname" ]; then