Build Data Collection Application Function #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Data Collection 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 git 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 libtins-dev libtalloc-dev libpcre2-dev curl wget default-jdk cmake jq | |
sudo python -m pip install --upgrade meson | |
- name: Build | |
run: | | |
meson build | |
ninja -C build | |
- name: Install | |
working-directory: build | |
run : sudo meson install --no-rebuild | |
- name: Run | |
run: sudo /usr/local/bin/open5gs-dcafd & |