-
Notifications
You must be signed in to change notification settings - Fork 6
63 lines (63 loc) · 1.58 KB
/
makefile.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: Regression Tests
on: [push]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: sudo apt-get install -y bmake
- name: Configure
run: |
cat /etc/os-release
./configure
- name: Build and test
run: bmake regress
linux_libbsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: sudo apt-get install -y bmake pkg-config libbsd-dev
- name: Configure
run: |
cat /etc/os-release
CFLAGS=$(pkg-config --cflags libbsd-overlay) ./configure CPPFLAGS="-DENABLE_SECCOMP_FILTER=1" LDFLAGS=$(pkg-config --libs libbsd-overlay)
- name: Build and test
run: bmake regress
macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: brew install bmake
- name: Configure
run: ./configure
- name: Build and test
run: bmake regress
freebsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Test in FreeBSD
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: pkg install -y curl
run: |
freebsd-version
./configure
make regress
netbsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Test in NetBSD
uses: vmactions/netbsd-vm@v1
with:
usesh: true
prepare: /usr/sbin/pkg_add curl
run: |
uname -a
./configure
make regress