-
Notifications
You must be signed in to change notification settings - Fork 0
79 lines (70 loc) · 2.03 KB
/
build_bsd.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: "Build on *BSD"
on:
push: {}
pull_request: {}
jobs:
build-openbsd:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- name: openbsd
architecture: x86-64
version: '7.4'
package_tool: pkg_add
#- name: freebsd
# architecture: x86-64
# version: '14.0'
# package_tool: pkg install
#- name: netbsd
# architecture: x86-64
# version: '9.4'
steps:
- uses: actions/checkout@v4
- name: Build on ${{ matrix.os.name }}
uses: cross-platform-actions/action@v0.25.0
env:
AUTOCONF_VERSION: 2.71
AUTOMAKE_VERSION: 1.16
with:
operating_system: ${{ matrix.os.name }}
architecture: ${{ matrix.os.architecture }}
version: ${{ matrix.os.version }}
memory: 4G
sync_files: runner-to-vm
environment_variables: AUTOCONF_VERSION AUTOMAKE_VERSION
shell: bash
run: |
sudo pkg_add autoconf-2.71 automake-1.16.5 libtool
autoreconf -vfi
./configure
make
build-freebsd:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- name: freebsd
architecture: x86-64
version: '14.0'
package_tool: pkg install
steps:
- uses: actions/checkout@v4
- name: Build on ${{ matrix.os.name }}
uses: cross-platform-actions/action@v0.25.0
env:
AUTOCONF_VERSION: 2.71
AUTOMAKE_VERSION: 1.16
with:
operating_system: ${{ matrix.os.name }}
architecture: ${{ matrix.os.architecture }}
version: ${{ matrix.os.version }}
memory: 4G
sync_files: runner-to-vm
environment_variables: AUTOCONF_VERSION AUTOMAKE_VERSION
shell: bash
run: |
sudo pkg install -y autoconf automake libtool
autoreconf -vfi
./configure
make