#3 Add CI tests
Closed 2 months ago by pwu. Opened 2 months ago by pwu.
rpms/ pwu/kyotocabinet rawhide  into  rawhide

Add CI tests
Peng Wu • 2 months ago  
file added
+17
@@ -0,0 +1,17 @@ 

+ #!/bin/bash

+ 

+ set -x

+ 

+ check_return_value () {

+     if [ $1 != 0 ] ; then

+         exit $1

+     fi

+ }

+ 

+ cd $1

+ ./configure --prefix=/usr --disable-opt --enable-lzo --enable-lzma

+ check_return_value $?

+ make

+ check_return_value $?

+ make check

+ exit $?

file added
+22
@@ -0,0 +1,22 @@ 

+ - hosts: localhost

+   vars:

+   - artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"

+   tags:

+   - classic

+   remote_user: root

+   roles:

+   - role: standard-test-source  # to get the source tar ball to do “make check”

+   - role: standard-test-basic

+     required_packages:

+     - make

+     - gcc-c++

+     - autoconf

+     - automake

+     - libtool

+     - zlib-devel

+     - lzo-devel

+     - xz-devel

+     tests:

+     - make-check:

+         dir: ./

+         run: bash ./make_check.sh ./source

no initial comment

Pull-Request has been closed by pwu

2 months ago
Metadata