|
@@ -15,7 +15,7 @@ jobs: |
|
|
linux-arm64: |
|
|
linux-arm64: |
|
|
runs-on: ubuntu-20.04 |
|
|
runs-on: ubuntu-20.04 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
with: |
|
|
with: |
|
|
submodules: recursive |
|
|
submodules: recursive |
|
|
- name: Fix GitHub's mess |
|
|
- name: Fix GitHub's mess |
|
@@ -44,17 +44,17 @@ jobs: |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
|
|
|
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
with: |
|
|
with: |
|
|
name: ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
|
|
|
|
|
name: ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || env.SHA8 }} |
|
|
path: | |
|
|
path: | |
|
|
bin/* |
|
|
bin/* |
|
|
|
|
|
|
|
|
linux-armhf: |
|
|
linux-armhf: |
|
|
runs-on: ubuntu-20.04 |
|
|
runs-on: ubuntu-20.04 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
with: |
|
|
with: |
|
|
submodules: recursive |
|
|
submodules: recursive |
|
|
- name: Fix GitHub's mess |
|
|
- name: Fix GitHub's mess |
|
@@ -83,17 +83,17 @@ jobs: |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
|
|
|
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
with: |
|
|
with: |
|
|
name: ${{ github.event.repository.name }}-linux-armhf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
|
|
|
|
|
name: ${{ github.event.repository.name }}-linux-armhf-${{ github.event.pull_request.number || env.SHA8 }} |
|
|
path: | |
|
|
path: | |
|
|
bin/* |
|
|
bin/* |
|
|
|
|
|
|
|
|
linux-i686: |
|
|
linux-i686: |
|
|
runs-on: ubuntu-20.04 |
|
|
runs-on: ubuntu-20.04 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
with: |
|
|
with: |
|
|
submodules: recursive |
|
|
submodules: recursive |
|
|
- name: Fix GitHub's mess |
|
|
- name: Fix GitHub's mess |
|
@@ -120,17 +120,56 @@ jobs: |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
|
|
|
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
with: |
|
|
with: |
|
|
name: ${{ github.event.repository.name }}-linux-i686-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
|
|
|
|
|
name: ${{ github.event.repository.name }}-linux-i686-${{ github.event.pull_request.number || env.SHA8 }} |
|
|
|
|
|
path: | |
|
|
|
|
|
bin/* |
|
|
|
|
|
|
|
|
|
|
|
linux-riscv64: |
|
|
|
|
|
runs-on: ubuntu-20.04 |
|
|
|
|
|
steps: |
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
|
|
|
with: |
|
|
|
|
|
submodules: recursive |
|
|
|
|
|
- name: Fix GitHub's mess |
|
|
|
|
|
run: | |
|
|
|
|
|
sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list |
|
|
|
|
|
sudo apt-get update -qq |
|
|
|
|
|
sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal |
|
|
|
|
|
sudo apt-get purge -yqq libclang* libgbm* libllvm* libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4 |
|
|
|
|
|
- name: Set up dependencies |
|
|
|
|
|
run: | |
|
|
|
|
|
sudo dpkg --add-architecture riscv64 |
|
|
|
|
|
sudo sed -i "s/deb http/deb [arch=amd64] http/" /etc/apt/sources.list |
|
|
|
|
|
echo "deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse" | sudo tee /etc/apt/sources.list.d/ports-riscv64.list |
|
|
|
|
|
echo "deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-riscv64.list |
|
|
|
|
|
echo "deb [arch=riscv64] http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-riscv64.list |
|
|
|
|
|
sudo apt-get update -qq |
|
|
|
|
|
sudo apt-get install -yqq g++-riscv64-linux-gnu libasound2-dev:riscv64 libcairo2-dev:riscv64 libdbus-1-dev:riscv64 libgl1-mesa-dev:riscv64 libglapi-mesa:riscv64 libglvnd0:riscv64 liblo-dev:riscv64 libpulse-dev:riscv64 libx11-dev:riscv64 libxcursor-dev:riscv64 libxext-dev:riscv64 libxrandr-dev:riscv64 qemu-user-static |
|
|
|
|
|
- name: Build linux riscv64 cross-compiled |
|
|
|
|
|
env: |
|
|
|
|
|
CC: riscv64-linux-gnu-gcc |
|
|
|
|
|
CXX: riscv64-linux-gnu-g++ |
|
|
|
|
|
LDFLAGS: -static-libgcc -static-libstdc++ |
|
|
|
|
|
PKG_CONFIG_PATH: /usr/lib/riscv64-linux-gnu/pkgconfig |
|
|
|
|
|
run: | |
|
|
|
|
|
make features |
|
|
|
|
|
make WITH_LTO=true -j $(nproc) |
|
|
|
|
|
- name: Set sha8 |
|
|
|
|
|
id: slug |
|
|
|
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
|
|
|
with: |
|
|
|
|
|
name: ${{ github.event.repository.name }}-linux-riscv64-${{ github.event.pull_request.number || env.SHA8 }} |
|
|
path: | |
|
|
path: | |
|
|
bin/* |
|
|
bin/* |
|
|
|
|
|
|
|
|
linux-x86_64: |
|
|
linux-x86_64: |
|
|
runs-on: ubuntu-20.04 |
|
|
runs-on: ubuntu-20.04 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
with: |
|
|
with: |
|
|
submodules: recursive |
|
|
submodules: recursive |
|
|
- name: Set up dependencies |
|
|
- name: Set up dependencies |
|
@@ -145,23 +184,19 @@ jobs: |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
|
|
|
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
with: |
|
|
with: |
|
|
name: ${{ github.event.repository.name }}-linux-x86_64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
|
|
|
|
|
name: ${{ github.event.repository.name }}-linux-x86_64-${{ github.event.pull_request.number || env.SHA8 }} |
|
|
path: | |
|
|
path: | |
|
|
bin/* |
|
|
bin/* |
|
|
|
|
|
|
|
|
macos-universal: |
|
|
macos-universal: |
|
|
runs-on: macos-10.15 |
|
|
|
|
|
|
|
|
runs-on: macos-11 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
with: |
|
|
with: |
|
|
submodules: recursive |
|
|
submodules: recursive |
|
|
- name: Fix up Xcode |
|
|
|
|
|
run: | |
|
|
|
|
|
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/* |
|
|
|
|
|
sudo xcode-select -s "/Applications/Xcode_12.3.app" |
|
|
|
|
|
- name: Build macOS universal |
|
|
- name: Build macOS universal |
|
|
env: |
|
|
env: |
|
|
CFLAGS: -arch x86_64 -arch arm64 -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_12 -mmacosx-version-min=10.12 -mtune=generic -msse -msse2 |
|
|
CFLAGS: -arch x86_64 -arch arm64 -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_12 -mmacosx-version-min=10.12 -mtune=generic -msse -msse2 |
|
@@ -173,10 +208,10 @@ jobs: |
|
|
./dpf/utils/package-osx-bundles.sh |
|
|
./dpf/utils/package-osx-bundles.sh |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
|
|
|
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
with: |
|
|
with: |
|
|
name: ${{ github.event.repository.name }}-macOS-universal-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
|
|
|
|
|
name: ${{ github.event.repository.name }}-macOS-universal-${{ github.event.pull_request.number || env.SHA8 }} |
|
|
path: | |
|
|
path: | |
|
|
*-macOS.pkg |
|
|
*-macOS.pkg |
|
|
bin/* |
|
|
bin/* |
|
@@ -189,7 +224,7 @@ jobs: |
|
|
win32: |
|
|
win32: |
|
|
runs-on: ubuntu-20.04 |
|
|
runs-on: ubuntu-20.04 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
with: |
|
|
with: |
|
|
submodules: recursive |
|
|
submodules: recursive |
|
|
- name: Fix GitHub's mess |
|
|
- name: Fix GitHub's mess |
|
@@ -215,10 +250,10 @@ jobs: |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
|
|
|
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
with: |
|
|
with: |
|
|
name: ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
|
|
|
|
|
name: ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || env.SHA8 }} |
|
|
path: | |
|
|
path: | |
|
|
bin/* |
|
|
bin/* |
|
|
!bin/*-ladspa.dll |
|
|
!bin/*-ladspa.dll |
|
@@ -227,7 +262,7 @@ jobs: |
|
|
win64: |
|
|
win64: |
|
|
runs-on: ubuntu-20.04 |
|
|
runs-on: ubuntu-20.04 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
with: |
|
|
with: |
|
|
submodules: recursive |
|
|
submodules: recursive |
|
|
- name: Fix GitHub's mess |
|
|
- name: Fix GitHub's mess |
|
@@ -252,10 +287,10 @@ jobs: |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
make WITH_LTO=true -j $(nproc) |
|
|
- name: Set sha8 |
|
|
- name: Set sha8 |
|
|
id: slug |
|
|
id: slug |
|
|
run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)" |
|
|
|
|
|
- uses: actions/upload-artifact@v2 |
|
|
|
|
|
|
|
|
run: echo "SHA8=$(echo ${{ github.sha }} | cut -c1-8)" >> $GITHUB_ENV |
|
|
|
|
|
- uses: actions/upload-artifact@v3 |
|
|
with: |
|
|
with: |
|
|
name: ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }} |
|
|
|
|
|
|
|
|
name: ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || env.SHA8 }} |
|
|
path: | |
|
|
path: | |
|
|
bin/* |
|
|
bin/* |
|
|
!bin/*-ladspa.dll |
|
|
!bin/*-ladspa.dll |
|
@@ -264,23 +299,23 @@ jobs: |
|
|
plugin-validation: |
|
|
plugin-validation: |
|
|
runs-on: ubuntu-20.04 |
|
|
runs-on: ubuntu-20.04 |
|
|
steps: |
|
|
steps: |
|
|
- uses: actions/checkout@v2 |
|
|
|
|
|
|
|
|
- uses: actions/checkout@v3 |
|
|
with: |
|
|
with: |
|
|
submodules: recursive |
|
|
submodules: recursive |
|
|
- name: Set up dependencies |
|
|
- name: Set up dependencies |
|
|
run: | |
|
|
run: | |
|
|
# custom repos |
|
|
# custom repos |
|
|
wget https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/kxstudio-repos_10.0.3_all.deb |
|
|
|
|
|
sudo dpkg -i kxstudio-repos_10.0.3_all.deb |
|
|
|
|
|
|
|
|
wget https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/kxstudio-repos_11.1.0_all.deb |
|
|
|
|
|
sudo dpkg -i kxstudio-repos_11.1.0_all.deb |
|
|
sudo apt-get update -qq |
|
|
sudo apt-get update -qq |
|
|
# build-deps |
|
|
# build-deps |
|
|
sudo apt-get install -yqq libasound2-dev libcairo2-dev libdbus-1-dev libgl1-mesa-dev liblo-dev libpulse-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev |
|
|
sudo apt-get install -yqq libasound2-dev libcairo2-dev libdbus-1-dev libgl1-mesa-dev liblo-dev libpulse-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev |
|
|
# runtime testing |
|
|
# 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 kxstudio-lv2-extensions mod-lv2-extensions valgrind xvfb |
|
|
- name: Build plugins |
|
|
- name: Build plugins |
|
|
env: |
|
|
env: |
|
|
CFLAGS: -g |
|
|
CFLAGS: -g |
|
|
CXXFLAGS: -g -DDPF_ABORT_ON_ERROR |
|
|
|
|
|
|
|
|
CXXFLAGS: -g -DDPF_ABORT_ON_ERROR -DDPF_RUNTIME_TESTING |
|
|
LDFLAGS: -static-libgcc -static-libstdc++ |
|
|
LDFLAGS: -static-libgcc -static-libstdc++ |
|
|
run: | |
|
|
run: | |
|
|
make features |
|
|
make features |
|
@@ -357,3 +392,14 @@ jobs: |
|
|
--suppressions=./dpf/utils/valgrind-dpf.supp \ |
|
|
--suppressions=./dpf/utils/valgrind-dpf.supp \ |
|
|
/usr/lib/carla/carla-bridge-native vst3 ./bin/${p} "" 1>/dev/null; \ |
|
|
/usr/lib/carla/carla-bridge-native vst3 ./bin/${p} "" 1>/dev/null; \ |
|
|
done |
|
|
done |
|
|
|
|
|
- name: Test CLAP plugins |
|
|
|
|
|
run: | |
|
|
|
|
|
for p in $(ls bin/ | grep clap); do \ |
|
|
|
|
|
env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \ |
|
|
|
|
|
valgrind \ |
|
|
|
|
|
--error-exitcode=255 \ |
|
|
|
|
|
--leak-check=full \ |
|
|
|
|
|
--track-origins=yes \ |
|
|
|
|
|
--suppressions=./dpf/utils/valgrind-dpf.supp \ |
|
|
|
|
|
/usr/lib/carla/carla-bridge-native clap ./bin/${p} "" 1>/dev/null; \ |
|
|
|
|
|
done |