Skip to content

Commit

Permalink
Added fedora and ubuntu builds.
Browse files Browse the repository at this point in the history
Disabled valgrind-check for freebsd as it caused weird errors after updating freebsd image.
  • Loading branch information
FedeDP committed Mar 9, 2019
1 parent 8e5199f commit e4226d8
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 3 deletions.
27 changes: 27 additions & 0 deletions .builds/fedora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
image: fedora/latest
packages:
- libcmocka-devel
- valgrind
- cmake
- gcc-c++
sources:
- https://github.com/FedeDP/libmodule
tasks:
- prepare: |
cd libmodule
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=true -DBUILD_SAMPLES=true ../
- build: |
cd libmodule/build
make
- test: |
cd libmodule/build
ctest -V
- build_pkg: |
cd libmodule/build
cpack3 -G RPM
triggers:
- action: email
condition: failure
to: "<nierro92@gmail.com>"
6 changes: 3 additions & 3 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
26 changes: 26 additions & 0 deletions .builds/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
image: ubuntu/latest
packages:
- libcmocka-dev
- valgrind
- cmake
sources:
- https://github.com/FedeDP/libmodule
tasks:
- prepare: |
cd libmodule
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=true -DBUILD_SAMPLES=true ../
- build: |
cd libmodule/build
make
- test: |
cd libmodule/build
ctest -V
- build_pkg: |
cd libmodule/build
cpack3 -G DEB
triggers:
- action: email
condition: failure
to: "<nierro92@gmail.com>"

0 comments on commit e4226d8

Please sign in to comment.