-
-
Notifications
You must be signed in to change notification settings - Fork 0
70 lines (58 loc) · 2.04 KB
/
linux.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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 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 library
run: |
git clone https://git.gnunet.org/libgnunetchat.git
- name: Install dependencies (application)
run: |
sudo apt-get -qq update
sudo apt-get -qq install ninja-build meson gcc
- name: Build library
run: |
cd libgnunetchat
meson setup build
meson compile -C build
meson install -C build
cd ..
- name: Checkout the current branch
uses: actions/checkout@v3
- name: Load submodules
run: |
git submodule init
git submodule update
- name: Install dependencies (application)
run: |
sudo apt-get -qq update
sudo apt-get -qq install ninja-build meson gcc
sudo apt-get -qq install libqrencode-dev libzbar-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libpipewire-0.3-dev libportal-dev libportal-gtk3-dev
- name: Build application
run: |
meson setup build
meson compile -C build