Fix VST3 assertion condition on set_io_mode() (must be before "initia… #1316
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: makefile | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
env: | |
DEBIAN_FRONTEND: noninteractive | |
jobs: | |
linux-x86_64: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set up dependencies | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -yq libasound2-dev libcairo2-dev libdbus-1-dev libgl1-mesa-dev liblo-dev libpulse-dev libsdl2-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev xvfb | |
- name: Without any warnings | |
env: | |
CFLAGS: -Werror | |
CXXFLAGS: -Werror | |
run: | | |
make clean >/dev/null | |
make -j $(nproc) | |
- name: Run tests | |
env: | |
CFLAGS: -Werror | |
CXXFLAGS: -Werror | |
run: | | |
xvfb-run make -C tests run | |
# FIXME enable again after finishing web-ui stuff | |
# - name: As C++98 mode | |
# env: | |
# CFLAGS: -Werror | |
# CXXFLAGS: -Werror -std=gnu++98 | |
# run: | | |
# make clean >/dev/null | |
# make -j $(nproc) | |
- name: No namespace | |
env: | |
CFLAGS: -Werror | |
CXXFLAGS: -Werror -DDONT_SET_USING_DISTRHO_NAMESPACE -DDONT_SET_USING_DGL_NAMESPACE | |
run: | | |
make clean >/dev/null | |
make -j $(nproc) | |
- name: Custom namespace | |
env: | |
CFLAGS: -Werror | |
CXXFLAGS: -Werror -DDISTRHO_NAMESPACE=WubbWubb -DDGL_NAMESPACE=DabDab | |
run: | | |
make clean >/dev/null | |
make -j $(nproc) | |
- name: With OpenGL 3.x | |
env: | |
CFLAGS: -Werror | |
CXXFLAGS: -Werror | |
run: | | |
make clean >/dev/null | |
make -j $(nproc) USE_OPENGL3=true | |
- name: Without Cairo | |
env: | |
CFLAGS: -Werror | |
CXXFLAGS: -Werror | |
run: | | |
make clean >/dev/null | |
make -j $(nproc) HAVE_CAIRO= | |
- name: Without OpenGL | |
env: | |
CFLAGS: -Werror | |
CXXFLAGS: -Werror | |
run: | | |
make clean >/dev/null | |
make -j $(nproc) HAVE_OPENGL= |