pihelper-c/.forgejo/workflows/test.yml

25 lines
590 B
YAML
Raw Permalink Normal View History

2024-08-15 01:10:56 +00:00
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 \
2024-08-15 01:10:56 +00:00
make \
gcc \
g++ \
autoconf \
libtool \
libcurl4-openssl-dev \
libssl-dev \
libjson-c-dev
- name: Build
2024-08-15 01:25:14 +00:00
run: |
cmake -DPIHELPER_EXECUTABLE=BOOL:ON -B build
cmake --build build