-
Notifications
You must be signed in to change notification settings - Fork 318
59 lines (53 loc) · 1.52 KB
/
rendering-regression.yml
File metadata and controls
59 lines (53 loc) · 1.52 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
name: Audio Rendering Regression Test
on:
workflow_dispatch:
inputs:
ref:
description: "Baseline FluidSynth git ref/tag/sha to compare against (e.g. v2.5.1 or commit hash)"
required: true
default: "1b87398d8a5bd1cb4f9f5143da097eb9827b2a5c"
pull_request:
push:
paths-ignore:
- '.azure/**'
- '.circleci/**'
- '.github/workflows/api_doc_build.yml'
- '.github/workflows/linux.yml'
- '.github/workflows/ios.yml'
- '.github/workflows/sonarcloud.yml'
- '.github/workflows/windows.yml'
- '.cirrus.yml'
- 'README.md'
permissions:
contents: read
env:
BUILD_TYPE: RelWithDebInfo
REF: ${{ github.event_name == 'workflow_dispatch' && inputs.ref || '1b87398d8a5bd1cb4f9f5143da097eb9827b2a5c' }}
SNR_MIN: '60'
RMS_MAX: '0.0001'
ABS_MAX: '0.01'
REGRESSION_CMAKE_FLAGS: "-DNO_GUI=1 -Denable-network=0 -DBUILD_SHARED_LIBS=0"
ALLOW_MISSING: "1"
jobs:
audio-regression:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
fetch-depth: 0
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y \
build-essential \
cmake \
ninja-build \
pkg-config \
libglib2.0-dev \
libinstpatch-dev \
libsndfile1-dev \
sox \
libsox-fmt-all
- name: Run audio regression comparison
run: test/run-manual-regression.sh