-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a Github action to verify the build process after each "push" op…
…eration on the development branch and once a week as a cron job.
- Loading branch information
1 parent
b34db64
commit 12ee0cb
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
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 & |