Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #202 from libattachsql/zuul-test2
Add basic Zuul test
- Loading branch information
Showing
6 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
- job: | ||
name: scanbuild | ||
run: playbooks/scanbuild.yaml | ||
timeout: 7200 | ||
nodeset: | ||
nodes: | ||
- name: xenial | ||
label: ubuntu-xenial | ||
|
||
- job: | ||
name: clang | ||
run: playbooks/clang.yaml | ||
timeout: 7200 | ||
nodeset: | ||
nodes: | ||
- name: xenial | ||
label: ubuntu-xenial | ||
|
||
- job: | ||
name: distcheck | ||
run: playbooks/distcheck.yaml | ||
timeout: 7200 | ||
nodeset: | ||
nodes: | ||
- name: xenial | ||
label: ubuntu-xenial | ||
|
||
- job: | ||
name: docs | ||
run: playbooks/docs.yaml | ||
timeout: 7200 | ||
nodeset: | ||
nodes: | ||
- name: xenial | ||
label: ubuntu-xenial | ||
|
||
- job: | ||
name: valgrind | ||
run: playbooks/valgrind.yaml | ||
timeout: 7200 | ||
nodeset: | ||
nodes: | ||
- name: xenial | ||
label: ubuntu-xenial | ||
|
||
- project: | ||
check: | ||
jobs: | ||
- scanbuild | ||
- noop | ||
- clang | ||
- distcheck | ||
- docs | ||
- valgrind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
- hosts: xenial | ||
name: CLang Build | ||
tasks: | ||
- name: Build with Clang | ||
shell: | ||
cmd: | | ||
autoreconf -fi | ||
./configure --enable-debug | ||
make | ||
make check | ||
args: | ||
chdir: ~/src/github.com/libattachsql/libattachsql/ | ||
executable: /bin/bash | ||
environment: | ||
CC: clang | ||
CXX: clang++ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- hosts: xenial | ||
name: GCC Dist Check | ||
tasks: | ||
- name: Build with dist check | ||
shell: | ||
cmd: | | ||
autoreconf -fi | ||
./configure --enable-debug | ||
make distcheck | ||
args: | ||
chdir: ~/src/github.com/libattachsql/libattachsql/ | ||
executable: /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- hosts: xenial | ||
name: Build docs | ||
tasks: | ||
- name: Build with Sphinx | ||
shell: | ||
cmd: | | ||
autoreconf -fi | ||
./configure | ||
make html | ||
args: | ||
chdir: ~/src/github.com/libattachsql/libattachsql/ | ||
executable: /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
- hosts: xenial | ||
name: CLang Scan Build | ||
tasks: | ||
- name: Build and run Clang ScanBuild | ||
shell: | ||
cmd: | | ||
autoreconf -fi | ||
./configure --enable-debug | ||
make | ||
make clean | ||
scan-build --use-cc=clang --use-c++=clang --status-bugs make | ||
args: | ||
chdir: ~/src/github.com/libattachsql/libattachsql/ | ||
executable: /bin/bash | ||
environment: | ||
CC: clang | ||
CXX: clang++ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
- hosts: xenial | ||
name: CLang Scan Build | ||
tasks: | ||
- name: Build and run Clang ScanBuild | ||
shell: | ||
cmd: | | ||
autoreconf -fi | ||
./configure --enable-debug | ||
TESTS_ENVIRONMENT="./libtool --mode=execute valgrind --error-exitcode=1 --leak-check=yes --track-fds=no --malloc-fill=A5 --free-fill=DE --suppressions=valgrind.supp" make check 2>/dev/null | ||
args: | ||
chdir: ~/src/github.com/libattachsql/libattachsql/ | ||
executable: /bin/bash | ||
|