-
Notifications
You must be signed in to change notification settings - Fork 21
60 lines (54 loc) · 1.66 KB
/
build_freebsd.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
# This workflow will build and test gbsplay in various configurations on FreeBSD.
name: FreeBSD Build
on:
push:
pull_request:
types: [opened]
schedule:
- cron: '13 4 5 * *'
jobs:
build-windows:
name: Build and test on FreeBSD
runs-on: ${{ matrix.os.host }}
strategy:
matrix:
os:
# - name: freebsd
# architecture: x86-64
# version: '13.2'
# host: macos-12
- name: freebsd
architecture: arm64
version: '13.2'
host: ubuntu-latest
flags: ['']
# flags: ['', '--enable-sharedlibgbs']
steps:
- uses: actions/checkout@v4
- name: Install dependencies, build and test under ${{ matrix.os.name }}
uses: cross-platform-actions/action@v0.26.0
env:
CONFIGURE_FLAGS: ${{ matrix.flags }} --enable-verbosebuild
CFLAGS: -Wformat -Werror=format-security -Wall -pedantic
with:
environment_variables: CONFIGURE_FLAGS CFLAGS
operating_system: ${{ matrix.os.name }}
architecture: ${{ matrix.os.architecture }}
version: ${{ matrix.os.version }}
shell: bash
memory: 5G
cpu_count: 4
run: |
yes | sudo pkg install gmake
gmake
## ./check_plugout_wav.sh
- name: Check activated plugouts
run: |
./check_plugouts.sh devdsp wav
- name: Check build flags
run: |
./check_buildflags.sh ${{ matrix.flags }} --enable-verbosebuild
- name: Dump configure on error
if: ${{ failure() }}
run: |
bash -x -v configure && cat config.err