Introduce run-time self-tests (needs special build)
This commit is contained in:
parent
67526eb978
commit
c376854a96
3 changed files with 97 additions and 5 deletions
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
|
@ -1050,15 +1050,18 @@ jobs:
|
|||
# build-deps
|
||||
sudo apt-get install -yqq liblo-dev
|
||||
# runtime testing
|
||||
sudo apt-get install -yqq carla-git lilv-utils lv2-dev lv2lint valgrind
|
||||
sudo apt-get install -yqq carla-git lilv-utils lv2-dev lv2lint valgrind xvfb
|
||||
- name: Build Cardinal
|
||||
env:
|
||||
CFLAGS: -g
|
||||
CXXFLAGS: -g -DDPF_ABORT_ON_ERROR
|
||||
CXXFLAGS: -g -DDPF_ABORT_ON_ERROR -DDPF_RUNTIME_TESTING
|
||||
LDFLAGS: -static-libgcc -static-libstdc++
|
||||
run: |
|
||||
make HEADLESS=true features
|
||||
make HEADLESS=true NOOPT=true NOPLUGINS=true SKIP_STRIPPING=true -j $(nproc)
|
||||
- name: Run Cardinal self-tests
|
||||
run: |
|
||||
xvfb-run ./bin/Cardinal selftest
|
||||
- name: Validate LV2 ttl syntax
|
||||
run: |
|
||||
lv2_validate \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue