@@ -3,28 +3,28 @@ language: cpp | |||||
jobs: | jobs: | ||||
include: | include: | ||||
# linux native build | # linux native build | ||||
#- name: "Linux native" | |||||
#os: linux | |||||
#compiler: gcc | |||||
#dist: bionic | |||||
#env: | |||||
#- TARGET="linux" | |||||
## linux with win32 cross-compilation | |||||
#- name: "win32 cross-compiled" | |||||
#os: linux | |||||
#compiler: gcc | |||||
#dist: bionic | |||||
#env: | |||||
#- TARGET="win32" | |||||
## linux with win64 cross-compilation | |||||
#- name: "win64 cross-compiled" | |||||
#os: linux | |||||
#compiler: gcc | |||||
#dist: bionic | |||||
#env: | |||||
#- TARGET="win64" | |||||
- name: "Linux native" | |||||
os: linux | |||||
compiler: gcc | |||||
dist: bionic | |||||
env: | |||||
- TARGET="linux" | |||||
# linux with win32 cross-compilation | |||||
- name: "win32 cross-compiled" | |||||
os: linux | |||||
compiler: gcc | |||||
dist: bionic | |||||
env: | |||||
- TARGET="win32" | |||||
# linux with win64 cross-compilation | |||||
- name: "win64 cross-compiled" | |||||
os: linux | |||||
compiler: gcc | |||||
dist: bionic | |||||
env: | |||||
- TARGET="win64" | |||||
# macOS native build | # macOS native build | ||||
- name: "macOS native" | - name: "macOS native" | ||||
@@ -16,10 +16,10 @@ if [ "${TARGET}" = "linux" ]; then | |||||
pkg-config \ | pkg-config \ | ||||
libasound2-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev \ | libasound2-dev libfreetype6-dev libgl1-mesa-dev libglu1-mesa-dev \ | ||||
libx11-dev libxcomposite-dev libxrender-dev libxcursor-dev \ | libx11-dev libxcomposite-dev libxrender-dev libxcursor-dev \ | ||||
lilv-utils lv2-dev lv2lint kxstudio-lv2-extensions | |||||
lilv-utils lv2lint kxstudio-lv2-extensions lv2-dev | |||||
elif [ "${TARGET}" = "win32" ]; then | elif [ "${TARGET}" = "win32" ]; then | ||||
sudo apt-get install -y mingw-w64 binutils-mingw-w64-i686 g++-mingw-w64-i686 g++-multilib wine-stable wine32 | |||||
sudo apt-get install -y mingw-w64 binutils-mingw-w64-i686 g++-mingw-w64-i686 wine-stable | |||||
elif [ "${TARGET}" = "win64" ]; then | elif [ "${TARGET}" = "win64" ]; then | ||||
sudo apt-get install -y mingw-w64 binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 wine-stable | sudo apt-get install -y mingw-w64 binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 wine-stable | ||||
@@ -5,9 +5,9 @@ set -e | |||||
export DESTDIR=/tmp/distrho-ports | export DESTDIR=/tmp/distrho-ports | ||||
if [ "${TARGET}" = "win32" ]; then | if [ "${TARGET}" = "win32" ]; then | ||||
EXTRA_ARGS="--cross-file scripts/meson/win32.ini -Dbuild-legacy-only=true" | |||||
EXTRA_ARGS="--cross-file scripts/meson/win32.ini" | |||||
elif [ "${TARGET}" = "win64" ]; then | elif [ "${TARGET}" = "win64" ]; then | ||||
EXTRA_ARGS="--cross-file scripts/meson/win64.ini -Dbuild-legacy-only=true" | |||||
EXTRA_ARGS="--cross-file scripts/meson/win64.ini" | |||||
fi | fi | ||||
echo "meson build --buildtype=release ${EXTRA_ARGS}" | echo "meson build --buildtype=release ${EXTRA_ARGS}" | ||||