libgnunetchat

library for GNUnet Messenger
Log | Files | Refs | README | LICENSE

commit 23af14560e440e8cf3a62df19973e9702e78739a
parent dcaa6519e7654e8943c36ae1323fc154bc705b4a
Author: Jacki <jacki@thejackimonster.de>
Date:   Mon, 26 Aug 2024 03:17:06 +0200

Add testing to workflow

Signed-off-by: Jacki <jacki@thejackimonster.de>

Diffstat:
M.github/workflows/linux.yml | 20+++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml @@ -36,7 +36,7 @@ jobs: - name: Checkout the current branch uses: actions/checkout@v3 - - name: Install dependencies (application) + - name: Install dependencies (library) run: | sudo apt-get -qq update sudo apt-get -qq install ninja-build meson gcc @@ -45,4 +45,22 @@ jobs: run: | meson setup --prefix=/usr --libdir=lib build meson compile -C build + + - name: Install dependencies (testing) + run: | + sudo apt-get -qq update + sudo apt-get -qq install check + + - name: Rebuild library + run: | + rm -r build + meson setup --prefix=/usr --libdir=lib build + meson compile -C build + + - name: Test library + run: | + meson test -C build + + - name: Install library + run: | sudo meson install -C build