Skip to content

Update tests with setup and cleanup per test case #5

Update tests with setup and cleanup per test case

Update tests with setup and cleanup per test case #5

Workflow file for this run

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: Install dependencies (application)
run: |
sudo apt-get -qq update
sudo apt-get -qq install ninja-build meson gcc
- name: Build library
run: |
meson setup --prefix=/usr --libdir=lib build
meson compile -C build
sudo meson install -C build