Skip to content

Commit

Permalink
Enabled testing on freebsd, but keep valgrind-check disabled as it ca…
Browse files Browse the repository at this point in the history
…uses weird issues about syscalls.

Fixed deb/rpm pkg creation checks in ubuntu and fedora CI.
Updated readme.
  • Loading branch information
FedeDP committed Mar 9, 2019
1 parent e4226d8 commit 359dda7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .builds/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ packages:
- valgrind
- cmake
- gcc-c++
- rpm-build
sources:
- https://github.com/FedeDP/libmodule
tasks:
Expand All @@ -20,7 +21,7 @@ tasks:
ctest -V
- build_pkg: |
cd libmodule/build
cpack3 -G RPM
cpack -G RPM
triggers:
- action: email
condition: failure
Expand Down
8 changes: 4 additions & 4 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image: freebsd/latest
packages:
- cmocka
- valgrind
#- valgrind
- cmake
sources:
- https://github.com/FedeDP/libmodule
Expand All @@ -14,9 +14,9 @@ tasks:
- build: |
cd libmodule/build
make
#- test: |
#cd libmodule/build
#ctest -V
- test: |
cd libmodule/build
ctest -V
triggers:
- action: email
condition: failure
Expand Down
2 changes: 1 addition & 1 deletion .builds/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ tasks:
ctest -V
- build_pkg: |
cd libmodule/build
cpack3 -G DEB
cpack -G DEB
triggers:
- action: email
condition: failure
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ To see a real project using libmodule, check [Clightd](https://github.com/FedeDP

## CI

Libmodule, samples and tests builds are tested on [builds.sr.ht](https://builds.sr.ht/~fededp/libmodule) on linux and freebsd.
Libmodule, samples and tests builds are tested on [builds.sr.ht](https://builds.sr.ht/~fededp/libmodule) on archlinux, ubuntu, fedora and freebsd.
Moreover, tests are executed and valgrind checked too.

## But...why?
Expand Down Expand Up @@ -67,7 +67,7 @@ Installation - Generic OS
Installation - Red Hat
----------------------

$ cpack3 -G RPM
$ cpack -G RPM

And finally install generated RPM package.

Expand Down

0 comments on commit 359dda7

Please sign in to comment.