Skip to content

Commit 378b9f1

Browse files
thegushiDan Mahoney
authored andcommitted
ci: add GitHub Actions CI workflow
1 parent 150ca83 commit 378b9f1

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build-linux:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install dependencies
18+
run: |
19+
sudo apt-get update -q
20+
sudo apt-get install -y \
21+
autoconf automake libtool pkg-config \
22+
libmilter-dev \
23+
lua5.4 liblua5.4-dev
24+
25+
- name: Bootstrap build system
26+
run: autoreconf -fvi
27+
28+
- name: Configure
29+
run: ./configure CFLAGS='-g -O2 -Wno-pointer-sign'
30+
31+
- name: Build
32+
run: make -j$(nproc)

0 commit comments

Comments
 (0)