Merge remote-tracking branch 'github-pull/9/head'

This commit is contained in:
Luke Dashjr 2024-10-19 19:47:55 +00:00
commit 36613ef5f2
No known key found for this signature in database
GPG Key ID: A291A2C45D0C504A

31
.github/workflows/build.yaml vendored Normal file
View File

@ -0,0 +1,31 @@
name: Build DATUM Gateway
on:
schedule:
- cron: '0 0 1 * *'
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Create build directory
run: mkdir -p build
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev libjansson-dev libmicrohttpd-dev libsodium-dev
- name: Build DATUM Gateway
run: |
cd build
cmake ..
make -j$(nproc)