1 parent 01bbf38 commit 45bba4cCopy full SHA for 45bba4c
1 file changed
.github/workflows/ci.yml
@@ -2,11 +2,32 @@ name: CI
2
3
on:
4
push:
5
- branches: [ develop ]
6
- pull_request:
7
+ branches: [ freebsd-ci ]
8
9
jobs:
+ build-test-freebsd:
+ runs-on: [self-hosted, freebsd]
10
+
11
+ steps:
12
+ - uses: actions/checkout@v4
13
14
+ - name: Bootstrap build system
15
+ run: autoreconf -fvi
16
17
+ - name: Configure
18
+ run: |
19
+ ./configure --enable-lua \
20
+ CPPFLAGS='-I/usr/local/include/lua54' \
21
+ LUA_LIBS='-llua-5.4' \
22
+ CFLAGS='-g -O2 -Wno-pointer-sign' \
23
+ --with-test-socket=unix:/tmp/opendkim-test.sock
24
25
+ - name: Build
26
+ run: gmake -j$(sysctl -n hw.ncpu)
27
28
+ - name: Test
29
+ run: gmake check
30
31
build-test-linux:
32
runs-on: ubuntu-latest
33
0 commit comments