Skip to content

Commit

Permalink
Adds a Github action to verify the build process after each "push" op…
Browse files Browse the repository at this point in the history
…eration on the development branch and once a week as a cron job.
  • Loading branch information
dsilhavy authored and davidjwbbc committed Nov 13, 2024
1 parent b34db64 commit 12ee0cb
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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 &

0 comments on commit 12ee0cb

Please sign in to comment.