libgnunetchat

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

commit 0d8ce8057595843cd66956227c0a63e2f05c6464
parent 61d5770feef45b56a311461ececfa407f4e409e3
Author: Jacki <jacki@thejackimonster.de>
Date:   Mon, 17 Jun 2024 00:55:20 +0200

Add github workflow for automated build testing

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

Diffstat:
A.github/workflows/linux.yml | 43+++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+), 0 deletions(-)

diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml @@ -0,0 +1,43 @@ +name: Linux Build + +on: + push: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-24.04 + steps: + - name: Install tools + run: | + sudo apt-get -qq update + sudo apt-get -qq install git + + - name: Download framework + run: | + git clone https://git.gnunet.org/gnunet.git + + - name: Install dependencies (framework) + run: | + sudo apt-get -qq update + sudo apt-get -qq install automake autoconf autopoint gcc gettext recutils uncrustify yapf3 + sudo apt-get -qq install python3-sphinx python3-sphinx-multiversion python3-sphinx-rtd-theme + sudo apt-get -qq install libgcrypt20-dev libjansson-dev libsodium-dev libcurl4-gnutls-dev libidn2-dev libunistring-dev libsqlite3-dev libmicrohttpd-dev libltdl-dev + + - name: Build framework + run: | + cd gnunet + ./bootstrap + ./configure --prefix=/usr --disable-documentation + make -j $(nproc) + sudo make install + cd .. + + - name: Checkout the current branch + uses: actions/checkout@v3 + + - name: Build library + run: | + meson setup --prefix=/usr --libdir=lib build + meson compile -C build + sudo meson install -C build