代码拉取完成,页面将自动刷新
同步操作将从 MediaSource/libmicrohttpd 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# we utilize the images generated by the build-images project, to
# speed up CI runs. We also use ccache and store config.cache
# to speed up compilation. We include a version number in cache
# name to allow expiration of old caches.
cache:
key: "$CI_JOB_NAME-ver1"
paths:
- cache/
before_script:
# CCache Config
- mkdir -p cache
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/cache
- export CC="ccache gcc"
after_script:
# somehow after_script looses environment
- export CCACHE_BASEDIR=${PWD}
- export CCACHE_DIR=${PWD}/cache
- ccache -s
variables:
BUILD_IMAGES_PROJECT: libmicrohttpd/build-images
DEBIAN_BUILD: buildenv-debian-stretch
MINGW_BUILD: buildenv-debian-mingw
GET_SOURCES_ATTEMPTS: "3"
CONFIGURE_BASE_FLAGS: --enable-asserts --cache-file cache/config.cache
CFLAGS_DEFAULT: -O0 -g -ggdb3 -Wall -Wextra
# In this build we combine
# * gcc
# * check
gcc/Stretch:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
script:
- export CFLAGS=$CFLAGS_DEFAULT
- ./bootstrap
- ./configure $CONFIGURE_BASE_FLAGS
- make -j$(nproc)
- make check
tags:
- shared
- linux
artifacts:
expire_in: 2 weeks
when: on_failure
paths:
- ./*.log
- src/*/*.log
- src/*/*/*.log
# In this build we combine
# * clang
# * ASan, UBSan
# * check
Sanitizers/Stretch:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
script:
- export CFLAGS="$CFLAGS_DEFAULT -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address"
- ./bootstrap
- export CC="ccache clang"
- export UBSAN_OPTIONS=print_stacktrace=1
- export ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-3.8/bin/llvm-symbolizer
- ./configure $CONFIGURE_BASE_FLAGS --disable-doc
- make check
tags:
- shared
- linux
artifacts:
expire_in: 2 weeks
when: on_failure
paths:
- ./*.log
- src/*/*.log
- src/*/*/*.log
Scan-Build/Debian:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
script:
- export CFLAGS=$CFLAGS_DEFAULT
- ./bootstrap
- scan-build ./configure $CONFIGURE_BASE_FLAGS
- scan-build -v -enable-checker security,nullability --status-bugs -o scan-build make -j$(nproc)
- scan-build -v -enable-checker security,nullability --status-bugs -o scan-build make check
tags:
- shared
- linux
except:
- tags
artifacts:
expire_in: 2 weeks
when: on_failure
paths:
- scan-build/*
MinGW/Debian:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$MINGW_BUILD
script:
- export CC="ccache $PREFIX-gcc"
- ./bootstrap
- ./configure $CONFIGURE_BASE_FLAGS --build=x86_64-pc-linux-gnu --host=$PREFIX
- make -j$(nproc)
tags:
- shared
- linux
dist/Stretch:
image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$DEBIAN_BUILD
script:
- export CFLAGS=$CFLAGS_DEFAULT
- ./bootstrap
- ./configure $CONFIGURE_BASE_FLAGS
- make -j$(nproc) dist
tags:
- shared
- linux
artifacts:
name: "$CI_COMMIT_REF_NAME-$CI_COMMIT_SHORT_SHA"
expire_in: 2 weeks
when: on_success
paths:
- ./libmicrohttpd-*.*.*.tar.??
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。