Add Forgejo workflow #1
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/test.yml
Normal file
21
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: Build
|
||||||
|
on: pull_request
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt install cmake \
|
||||||
|
make \
|
||||||
|
gcc \
|
||||||
|
g++ \
|
||||||
|
autoconf \
|
||||||
|
libtool \
|
||||||
|
libcurl4-openssl-dev \
|
||||||
|
libssl-dev \
|
||||||
|
libjson-c-dev
|
||||||
|
- name: Build
|
||||||
|
run: cmake -DPIHELPER_EXECUTABLE=BOOL:ON -B build
|
Loading…
Reference in a new issue