-
Notifications
You must be signed in to change notification settings - Fork 5
64 lines (57 loc) · 1.44 KB
/
Copy pathbuildbsd.yml
File metadata and controls
64 lines (57 loc) · 1.44 KB
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
64
name: build and test bsd
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master ]
# The BSDs use the same sysv_amd64 ABI as Linux, so these jobs build and test
# the existing sources rather than producing an additional library artifact.
# Each job runs in a real VM on the ubuntu-latest runner; GNU make is required
# because the Makefile uses GNU make syntax, while the BSD base system make
# is bmake.
jobs:
build-freebsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: build and test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
cache-after-prepare: true
prepare: |
pkg install -y gmake
run: |
set -ex
gmake all
gmake test
build-openbsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: build and test
uses: vmactions/openbsd-vm@v1
with:
usesh: true
cache-after-prepare: true
prepare: |
pkg_add -I gmake
run: |
set -ex
gmake all
gmake test
build-netbsd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
- name: build and test
uses: vmactions/netbsd-vm@v1
with:
usesh: true
cache-after-prepare: true
prepare: |
/usr/sbin/pkg_add gmake
run: |
set -ex
gmake all
gmake test