-
Notifications
You must be signed in to change notification settings - Fork 71
83 lines (78 loc) · 2.22 KB
/
FreeBSD-14.0-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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: FreeBSD 14.0 Makefile
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Startup VM
uses: cross-platform-actions/[email protected]
with:
architecture: x86_64
hypervisor: qemu
memory: 4G
operating_system: freebsd
version: '14.0'
shell: bash
sync_files: runner-to-vm
shutdown_vm: false
run: true
- name: Install dependencies
uses: cross-platform-actions/[email protected]
with:
architecture: x86_64
hypervisor: qemu
memory: 4G
operating_system: freebsd
version: '14.0'
shell: bash
sync_files: false
shutdown_vm: false
run: |
sudo pkg install -y subversion p5-XML-XPath git mawk gmake pkgconf autoconf autoconf-archive automake libtool help2man doxygen mpg123 libogg libvorbis flac libsndfile pulseaudio portaudio sdl2
- name: Build
uses: cross-platform-actions/[email protected]
with:
architecture: x86_64
hypervisor: qemu
memory: 4G
operating_system: freebsd
version: '14.0'
shell: bash
sync_files: false
shutdown_vm: false
run: |
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 AUTO_DEPS=1
- name: Test
uses: cross-platform-actions/[email protected]
with:
architecture: x86_64
hypervisor: qemu
memory: 4G
operating_system: freebsd
version: '14.0'
shell: bash
sync_files: false
shutdown_vm: false
run: |
gmake -j$(sysctl -n hw.ncpu) STRICT=1 VERBOSE=1 AUTO_DEPS=1 check
- name: Shutdown VM
uses: cross-platform-actions/[email protected]
with:
architecture: x86_64
hypervisor: qemu
memory: 4G
operating_system: freebsd
version: '14.0'
shell: bash
sync_files: false
shutdown_vm: true
run: true