代码拉取完成,页面将自动刷新
default:
# The image was generated with the following Dockerfile. It is also used
# for libxslt, that's why we need git and libgcrypt-dev.
#
# FROM ubuntu:19.04
# RUN apt-get update && \
# apt-get upgrade -y && \
# apt-get install -y --no-install-recommends \
# curl git ca-certificates \
# autoconf automake libtool pkg-config \
# make gcc clang llvm \
# python-dev zlib1g-dev liblzma-dev libgcrypt-dev
# WORKDIR /tests
# RUN curl https://www.w3.org/XML/Test/xmlts20080827.tar.gz |tar xz
image: registry.gitlab.gnome.org/gnome/libxml2
.test:
script:
- |
ln -s /tests/xmlconf
sh autogen.sh $CONFIG
make -j$(nproc) V=1 CFLAGS="$CFLAGS -Werror"
make check
gcc:
extends: .test
variables:
CFLAGS: "-O2 -std=c89 -D_XOPEN_SOURCE=700"
clang:asan:
extends: .test
variables:
CONFIG: "--without-python"
CC: clang
CFLAGS: "-O2 -g -fno-omit-frame-pointer -fsanitize=address,undefined -fno-sanitize=pointer-overflow -fno-sanitize-recover=all -Wno-error=cast-align"
UBSAN_OPTIONS: "print_stacktrace=1"
clang:msan:
extends: .test
variables:
CONFIG: "--without-python --without-zlib --without-lzma"
CC: clang
CFLAGS: "-O2 -g -fno-omit-frame-pointer -fsanitize=memory -Wno-error=cast-align"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。