26 Star 0 Fork 4

openKylin / dpkg

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.gitlab-ci.yml 1.76 KB
一键复制 编辑 原始数据 按行查看 历史
公子文彬 提交于 2024-04-09 20:49 . merge upstream 1.22.6
image: debian:sid
variables:
FF_DISABLE_UMASK_FOR_DOCKER_EXECUTOR: 1
before_script:
- apt update -qq
- apt install -qq -y eatmydata
- eatmydata apt -P pkg.dpkg.author-release build-dep -qq -y .
- ./autogen
# Test whether the release can be done.
dist-check:
stage: test
script:
- ./configure
- make -j$(nproc) distcheck
# Test whether the author checks pass.
author-check:
stage: test
script:
- eatmydata apt -P pkg.dpkg.author-testing build-dep -qq -y .
- ./configure
- make -j$(nproc) authorcheck
TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
# Test whether the sanitized unit tests pass.
unit-tests:
stage: test
script:
- ./configure --enable-compiler-sanitizer
- make -j$(nproc) -C lib check
TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
# Test whether the unit tests pass on a VPATH build.
vpath-tests:
stage: test
script:
- mkdir -p build-tree
- cd build-tree
- ../configure
- make -j$(nproc) check
TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
# Test whether the unit tests pass with minimal library dependencies.
minlib-tests:
stage: test
script:
- ./configure
--without-liblzma
--without-libz
--without-libz-ng
--without-libzstd
--without-libbz2
--without-libselinux
- make -j$(nproc) check
TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
# Test whether we can build the shared library.
shlib-tests:
stage: test
script:
- AUTHOR_TESTING=1 ./configure --enable-shared
- make -j$(nproc) check
TESTSUITEFLAGS=--verbose TEST_PARALLEL=$(nproc)
# Test whether the functional tests pass.
func-tests:
stage: test
script:
- ./configure
- make
- eatmydata make -C tests test
1
https://gitee.com/openkylin/dpkg.git
git@gitee.com:openkylin/dpkg.git
openkylin
dpkg
dpkg
openkylin/nile

搜索帮助