Enable CI for XML_ATTR_INFO

Enable CI to cover XML_ATTR_INFO feature.

Signed-off-by: Mohammed Khajapasha <mohammed.khajapasha@intel.com>
This commit is contained in:
Mohammed Khajapasha 2019-07-12 05:14:26 +00:00
parent 28edd45043
commit 974a0a8a7d
2 changed files with 11 additions and 3 deletions

View File

@ -41,21 +41,21 @@ cd expat
./buildconf.sh
if [[ ${MODE} = distcheck ]]; then
./configure
./configure ${CONFIGURE_ARGS}
make distcheck
mkdir -p ~/rpmbuild/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
ln -v -s "$PWD"/expat-*.tar.bz2 ~/rpmbuild/SOURCES/
rpmbuild -ba expat.spec
elif [[ ${MODE} = cmake ]]; then
cmake .
cmake ${CMAKE_ARGS} .
make all test
make DESTDIR="${PWD}"/ROOT install
find ROOT -printf "%P\n" | sort
elif [[ ${MODE} = cmake-oos ]]; then
mkdir build
cd build
cmake ..
cmake ${CMAKE_ARGS} ..
make all test
make DESTDIR="${PWD}"/ROOT install
find ROOT -printf "%P\n" | sort

View File

@ -26,6 +26,14 @@ env:
matrix:
include:
- os: linux
env: MODE=cmake CMAKE_ARGS=-DXML_ATTR_INFO=ON
- os: linux
env: MODE=cmake-oos CMAKE_ARGS=-DXML_ATTR_INFO=ON
- os: linux
env: MODE=distcheck CONFIGURE_ARGS=--enable-xml-attr-info
- os: linux
env: MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=address CONFIGURE_ARGS=--enable-xml-attr-info
- os: linux
env: MODE=qa-sh QA_COMPILER=clang CC=clang CXX=clang++ LD=clang++ QA_SANITIZER=memory
- os: linux