-
Notifications
You must be signed in to change notification settings - Fork 6
34 lines (33 loc) · 1.12 KB
/
build.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
name: Build Application Function
on:
push:
branches: [ development ]
schedule:
- cron: '0 0 * * 0' # Executes every Sunday at midnight UT
jobs:
ubuntu-build:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Python
uses: actions/setup-python@v5
with:
check-latest: true
- name: Install dependencies
run: |
sudo apt update
sudo apt install ninja-build build-essential flex bison git libsctp-dev libgnutls28-dev libgcrypt-dev libssl-dev libidn11-dev libmongoc-dev libbson-dev libyaml-dev libnghttp2-dev libmicrohttpd-dev libcurl4-gnutls-dev libnghttp2-dev libtins-dev libtalloc-dev curl wget default-jdk
sudo python -m pip install build meson
sudo python -m pip install --upgrade build meson
- name: Build
run: |
meson build
ninja -C build
- name: Install
working-directory: build
run : sudo meson install --no-rebuild
- name: Run
run: /usr/local/bin/open5gs-msafd -h