Skip to content

Commit 45bba4c

Browse files
committed
ci: trigger on freebsd-ci branch, add FreeBSD self-hosted job
1 parent 01bbf38 commit 45bba4c

1 file changed

Lines changed: 24 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,32 @@ name: CI
22

33
on:
44
push:
5-
branches: [ develop ]
6-
pull_request:
7-
branches: [ develop ]
5+
branches: [ freebsd-ci ]
86

97
jobs:
8+
build-test-freebsd:
9+
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+
1031
build-test-linux:
1132
runs-on: ubuntu-latest
1233

0 commit comments

Comments
 (0)