Browse Source

CI: Run lv2lint on the linux builds

Closes #41

Signed-off-by: falkTX <falktx@falktx.com>
tags/2020-07-14
falkTX 3 years ago
parent
commit
deb1c5507a
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 11 additions and 2 deletions
  1. +5
    -1
      .travis/install.sh
  2. +6
    -1
      .travis/script.sh

+ 5
- 1
.travis/install.sh View File

@@ -6,7 +6,11 @@ set -e
sudo apt-get install -y build-essential meson

if [ "${TARGET}" = "linux" ]; then
sudo apt-get install -y pkg-config libfreetype6-dev libx11-dev libxcomposite-dev libxrender-dev libxcursor-dev libasound2-dev libgl1-mesa-dev libglu1-mesa-dev
sudo apt-get install -y \
pkg-config \
libasound2-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev \
libx11-dev libxcomposite-dev libxrender-dev libxcursor-dev \
lilv-utils lv2-dev lv2lint kxstudio-lv2-extensions

elif [ "${TARGET}" = "win32" ]; then
sudo apt-get install -y mingw-w64 binutils-mingw-w64-i686 g++-mingw-w64-i686 g++-multilib wine-stable wine32


+ 6
- 1
.travis/script.sh View File

@@ -11,6 +11,11 @@ elif [ "${TARGET}" = "win64" ]; then
fi

echo "meson build --buildtype release ${EXTRA_ARGS}"
meson build --buildtype release ${EXTRA_ARGS}
meson build --buildtype=release --prefix=/usr ${EXTRA_ARGS}
ninja -v -C build
ninja -C build install

if [ "${TARGET}" = "linux" ]; then
export LV2_PATH=${DESTDIR}/usr/lib/lv2:/usr/lib/lv2
for uri in $(lv2ls); do lv2lint -W lv2_generate_ttl -Snowarn ${uri}; done
fi

Loading…
Cancel
Save