project-config/jenkins/jobs/liberasurecode.yaml
2017-04-06 18:07:34 +00:00

46 lines
1.1 KiB
YAML

- job-template:
name: 'gate-liberasurecode-unit-{node}'
node: '{node}'
builders:
- zuul-git-prep
- install-distro-packages
- shell: |
#!/bin/bash -xe
./autogen.sh
./configure
make
make test
make valgrind-test
publishers:
- console-log
- job-template:
name: '{pipeline}-libec-pyeclib-unit-{node}'
node: '{node}'
builders:
- shell: |
#!/bin/bash -xe
cd $WORKSPACE
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/liberasurecode \
openstack/pyeclib
# build libec
cd openstack/liberasurecode
/usr/local/jenkins/slave_scripts/install-distro-packages.sh
./autogen.sh
./configure
make
sudo make install
sudo bash -c "echo /usr/local/lib >> /etc/ld.so.conf"
sudo ldconfig
# test pyeclib
cd $WORKSPACE/openstack/pyeclib
tox -e py27
publishers:
- console-log