Add Forgejo workflow #1

Merged
wbrawner merged 3 commits from workflows into master 2024-11-18 14:00:14 +00:00

View file

@ -0,0 +1,24 @@
name: Build
on: pull_request
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake \
make \
gcc \
g++ \
autoconf \
libtool \
libcurl4-openssl-dev \
libssl-dev \
libjson-c-dev
- name: Build
run: |
cmake -DPIHELPER_EXECUTABLE=BOOL:ON -B build
cmake --build build