You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

488 lines
21KB

  1. name: build
  2. on:
  3. push:
  4. env:
  5. CACHE_VERSION: 5
  6. DEBIAN_FRONTEND: noninteractive
  7. HOMEBREW_NO_AUTO_UPDATE: 1
  8. WITH_LTO: false
  9. jobs:
  10. linux-arm64:
  11. runs-on: ubuntu-20.04
  12. steps:
  13. - uses: actions/checkout@v3
  14. with:
  15. submodules: recursive
  16. - name: Set up cache
  17. uses: actions/cache@v3
  18. with:
  19. path: |
  20. ~/PawPawBuilds
  21. key: linux-arm64-v${{ env.CACHE_VERSION }}
  22. - name: Fix GitHub's mess
  23. run: |
  24. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  25. sudo apt-get update -qq
  26. sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  27. sudo apt-get purge -yqq libclang* libgbm* libllvm* libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
  28. - name: Set up dependencies
  29. run: |
  30. sudo dpkg --add-architecture arm64
  31. sudo sed -i "s/deb http/deb [arch=amd64] http/" /etc/apt/sources.list
  32. echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse" | sudo tee /etc/apt/sources.list.d/ports-arm64.list
  33. echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-arm64.list
  34. echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-arm64.list
  35. sudo apt-get update -qq
  36. sudo apt-get install -yqq g++-aarch64-linux-gnu libasound2-dev:arm64 libdbus-1-dev:arm64 libgl1-mesa-dev:arm64 libglib2.0-dev:arm64 libx11-dev:arm64 libxcursor-dev:arm64 libxext-dev:arm64 libxrandr-dev:arm64 gperf qemu-user-static
  37. - name: Build extra dependencies
  38. run: |
  39. git clone --depth=1 https://github.com/DISTRHO/PawPaw.git
  40. ./PawPaw/bootstrap-cardinal.sh linux-aarch64
  41. - name: Build linux arm64 cross-compiled
  42. run: |
  43. pushd PawPaw; source local.env linux-aarch64; popd
  44. make features
  45. make NOOPT=true -j $(nproc)
  46. - name: Set sha8
  47. id: slug
  48. run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
  49. - uses: actions/upload-artifact@v3
  50. with:
  51. name: ${{ github.event.repository.name }}-linux-arm64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
  52. path: |
  53. bin/*
  54. linux-armhf:
  55. runs-on: ubuntu-20.04
  56. steps:
  57. - uses: actions/checkout@v3
  58. with:
  59. submodules: recursive
  60. - name: Set up cache
  61. uses: actions/cache@v3
  62. with:
  63. path: |
  64. ~/PawPawBuilds
  65. key: linux-armhf-v${{ env.CACHE_VERSION }}
  66. - name: Fix GitHub's mess
  67. run: |
  68. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  69. sudo apt-get update -qq
  70. sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  71. sudo apt-get purge -yqq libclang* libgbm* libllvm* libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
  72. - name: Set up dependencies
  73. run: |
  74. sudo dpkg --add-architecture armhf
  75. sudo sed -i "s/deb http/deb [arch=amd64] http/" /etc/apt/sources.list
  76. echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal main restricted universe multiverse" | sudo tee /etc/apt/sources.list.d/ports-armhf.list
  77. echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-armhf.list
  78. echo "deb [arch=armhf] http://ports.ubuntu.com/ubuntu-ports focal-backports main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ports-armhf.list
  79. sudo apt-get update -qq
  80. sudo apt-get install -yqq g++-arm-linux-gnueabihf libasound2-dev:armhf libdbus-1-dev:armhf libgl1-mesa-dev:armhf libglib2.0-dev:armhf libx11-dev:armhf libxcursor-dev:armhf libxext-dev:armhf libxrandr-dev:armhf gperf qemu-user-static
  81. - name: Build extra dependencies
  82. run: |
  83. git clone --depth=1 https://github.com/DISTRHO/PawPaw.git
  84. ./PawPaw/bootstrap-cardinal.sh linux-armhf
  85. - name: Build linux armhf cross-compiled
  86. run: |
  87. pushd PawPaw; source local.env linux-armhf; popd
  88. make features
  89. make NOOPT=true -j $(nproc)
  90. - name: Set sha8
  91. id: slug
  92. run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
  93. - uses: actions/upload-artifact@v3
  94. with:
  95. name: ${{ github.event.repository.name }}-linux-armhf-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
  96. path: |
  97. bin/*
  98. linux-i686:
  99. runs-on: ubuntu-20.04
  100. steps:
  101. - uses: actions/checkout@v3
  102. with:
  103. submodules: recursive
  104. - name: Set up cache
  105. uses: actions/cache@v3
  106. with:
  107. path: |
  108. ~/PawPawBuilds
  109. key: linux-i686-v${{ env.CACHE_VERSION }}
  110. - name: Fix GitHub's mess
  111. run: |
  112. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  113. sudo apt-get update -qq
  114. sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  115. sudo apt-get purge -yqq libclang* libgbm* libllvm* libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
  116. - name: Set up dependencies
  117. run: |
  118. sudo dpkg --add-architecture i386
  119. sudo apt-get update -qq
  120. sudo apt-get install -yqq g++-i686-linux-gnu libasound2-dev:i386 libdbus-1-dev:i386 libgl1-mesa-dev:i386 libglib2.0-dev:i386 libx11-dev:i386 libxcursor-dev:i386 libxext-dev:i386 libxrandr-dev:i386 gperf
  121. sudo apt-get install -yqq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 libwine-dev:i386 wine-stable wine64-tools
  122. - name: Build extra dependencies
  123. run: |
  124. git clone --depth=1 https://github.com/DISTRHO/PawPaw.git
  125. ./PawPaw/bootstrap-cardinal.sh linux-i686
  126. - name: Build linux i686
  127. run: |
  128. pushd PawPaw; source local.env linux-i686; popd
  129. make features
  130. make NOOPT=true -j $(nproc)
  131. - name: Set sha8
  132. id: slug
  133. run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
  134. - uses: actions/upload-artifact@v3
  135. with:
  136. name: ${{ github.event.repository.name }}-linux-i686-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
  137. path: |
  138. bin/*
  139. linux-riscv64:
  140. runs-on: ubuntu-20.04
  141. steps:
  142. - uses: actions/checkout@v3
  143. with:
  144. submodules: recursive
  145. - name: Set up cache
  146. uses: actions/cache@v3
  147. with:
  148. path: |
  149. ~/PawPawBuilds
  150. key: linux-riscv64-v${{ env.CACHE_VERSION }}
  151. - name: Fix GitHub's mess
  152. run: |
  153. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  154. sudo apt-get update -qq
  155. sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  156. sudo apt-get purge -yqq libclang* libgbm* libllvm* libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
  157. - name: Set up dependencies
  158. run: |
  159. sudo dpkg --add-architecture riscv64
  160. sudo sed -i "s/deb http/deb [arch=amd64] http/" /etc/apt/sources.list
  161. 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
  162. 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
  163. 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
  164. sudo apt-get update -qq
  165. sudo apt-get install -yqq g++-riscv64-linux-gnu libasound2-dev:riscv64 libdbus-1-dev:riscv64 libgl1-mesa-dev:riscv64 libglapi-mesa:riscv64 libglvnd0:riscv64 libglib2.0-dev:riscv64 libx11-dev:riscv64 libxcursor-dev:riscv64 libxext-dev:riscv64 libxrandr-dev:riscv64 gperf qemu-user-static
  166. - name: Build extra dependencies
  167. run: |
  168. git clone --depth=1 https://github.com/DISTRHO/PawPaw.git
  169. ./PawPaw/bootstrap-cardinal.sh linux-riscv64
  170. - name: Build linux riscv64
  171. run: |
  172. pushd PawPaw; source local.env linux-riscv64; popd
  173. make features
  174. make NOOPT=true -j $(nproc)
  175. - name: Set sha8
  176. id: slug
  177. run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
  178. - uses: actions/upload-artifact@v3
  179. with:
  180. name: ${{ github.event.repository.name }}-linux-riscv64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
  181. path: |
  182. bin/*
  183. linux-x86_64:
  184. runs-on: ubuntu-20.04
  185. steps:
  186. - uses: actions/checkout@v3
  187. with:
  188. submodules: recursive
  189. - name: Set up cache
  190. uses: actions/cache@v3
  191. with:
  192. path: |
  193. ~/PawPawBuilds
  194. key: linux-x86_64-v${{ env.CACHE_VERSION }}
  195. - name: Fix GitHub's mess
  196. run: |
  197. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  198. sudo apt-get update -qq
  199. sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  200. sudo apt-get purge -yqq libclang* libgbm* libllvm* libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
  201. - name: Set up dependencies
  202. run: |
  203. sudo dpkg --add-architecture i386
  204. sudo apt-get update -qq
  205. sudo apt-get install -yqq libasound2-dev libdbus-1-dev libgl1-mesa-dev libglib2.0-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev gperf
  206. sudo apt-get install -yqq g++-multilib libx11-dev:i386
  207. sudo apt-get install -yqq binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 g++-mingw-w64-i686 g++-mingw-w64-x86-64 mingw-w64 wine-stable wine64-tools
  208. - name: Build extra dependencies
  209. run: |
  210. git clone --depth=1 https://github.com/DISTRHO/PawPaw.git
  211. ./PawPaw/bootstrap-cardinal.sh linux
  212. - name: Build linux x86_64
  213. run: |
  214. pushd PawPaw; source local.env linux; popd
  215. make features
  216. make NOOPT=true all extra-posix32 extra-win32 extra-win64 extra-wine64 -j $(nproc)
  217. - name: Build linux x86_64 extra
  218. run: |
  219. sudo apt-get install libwine-dev:i386
  220. pushd PawPaw; source local.env linux; popd
  221. make NOOPT=true extra-wine32 -j $(nproc)
  222. make CARLA_EXTRA_TARGETS=true NOOPT=true -j $(nproc)
  223. - name: Set sha8
  224. id: slug
  225. run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
  226. - uses: actions/upload-artifact@v3
  227. with:
  228. name: ${{ github.event.repository.name }}-linux-x86_64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
  229. path: |
  230. bin/*
  231. macos-universal:
  232. runs-on: macos-11
  233. steps:
  234. - uses: actions/checkout@v3
  235. with:
  236. submodules: recursive
  237. - name: Set up cache
  238. uses: actions/cache@v3
  239. with:
  240. path: |
  241. ~/PawPawBuilds
  242. key: macos-universal-v${{ env.CACHE_VERSION }}
  243. - name: Build extra dependencies
  244. run: |
  245. git clone --depth=1 https://github.com/DISTRHO/PawPaw.git
  246. ./PawPaw/bootstrap-cardinal.sh macos-universal
  247. - name: Build macOS universal
  248. run: |
  249. pushd PawPaw; source local.env macos-universal; popd
  250. make features
  251. make NOOPT=true -j $(sysctl -n hw.logicalcpu)
  252. ./dpf/utils/package-osx-bundles.sh
  253. - name: Set sha8
  254. id: slug
  255. run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
  256. - uses: actions/upload-artifact@v3
  257. with:
  258. name: ${{ github.event.repository.name }}-macOS-universal-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
  259. path: |
  260. *-macOS.pkg
  261. bin/*
  262. !bin/*-ladspa.dylib
  263. !bin/*-dssi.dylib
  264. !bin/lv2
  265. !bin/vst2
  266. !bin/vst3
  267. win32:
  268. runs-on: ubuntu-22.04
  269. steps:
  270. - uses: actions/checkout@v3
  271. with:
  272. submodules: recursive
  273. - name: Set up cache
  274. uses: actions/cache@v3
  275. with:
  276. path: |
  277. ~/PawPawBuilds
  278. key: win32-v${{ env.CACHE_VERSION }}
  279. - name: Fix GitHub's mess
  280. run: |
  281. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  282. sudo apt-get update -qq
  283. sudo apt-get install -yqq --allow-downgrades libgd3/jammy
  284. sudo apt-get purge -yqq libmono* moby* mono* msbuild* php* libgdiplus libpcre2-posix3 nuget
  285. - name: Set up dependencies
  286. run: |
  287. sudo dpkg --add-architecture i386
  288. sudo apt-get update -qq
  289. sudo apt-get install -yqq binutils-mingw-w64-i686 g++-mingw-w64-i686 gperf mingw-w64 wine-stable
  290. - name: Build extra dependencies
  291. run: |
  292. git clone --depth=1 https://github.com/DISTRHO/PawPaw.git
  293. ./PawPaw/bootstrap-cardinal.sh win32
  294. - name: Build win32 cross-compiled
  295. run: |
  296. pushd PawPaw; source local.env win32; popd
  297. make features
  298. make CARLA_EXTRA_TARGETS=true NOOPT=true -j $(nproc)
  299. - name: Set sha8
  300. id: slug
  301. run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
  302. - uses: actions/upload-artifact@v3
  303. with:
  304. name: ${{ github.event.repository.name }}-win32-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
  305. path: |
  306. bin/*
  307. !bin/*-ladspa.dll
  308. !bin/*-dssi.dll
  309. win64:
  310. runs-on: ubuntu-22.04
  311. steps:
  312. - uses: actions/checkout@v3
  313. with:
  314. submodules: recursive
  315. - name: Set up cache
  316. uses: actions/cache@v3
  317. with:
  318. path: |
  319. ~/PawPawBuilds
  320. key: win64-v${{ env.CACHE_VERSION }}
  321. - name: Fix GitHub's mess
  322. run: |
  323. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  324. sudo apt-get update -qq
  325. sudo apt-get install -yqq --allow-downgrades libgd3/jammy
  326. sudo apt-get purge -yqq libmono* moby* mono* msbuild* php* libgdiplus libpcre2-posix3 nuget
  327. - name: Set up dependencies
  328. run: |
  329. sudo dpkg --add-architecture i386
  330. sudo apt-get update -qq
  331. sudo apt-get install -yqq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 gperf mingw-w64 wine-stable
  332. - name: Build extra dependencies
  333. run: |
  334. git clone --depth=1 https://github.com/DISTRHO/PawPaw.git
  335. ./PawPaw/bootstrap-cardinal.sh win64
  336. - name: Build win64 cross-compiled
  337. run: |
  338. pushd PawPaw; source local.env win64; popd
  339. make features
  340. make CARLA_EXTRA_TARGETS=true NOOPT=true -j $(nproc)
  341. - name: Set sha8
  342. id: slug
  343. run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
  344. - uses: actions/upload-artifact@v3
  345. with:
  346. name: ${{ github.event.repository.name }}-win64-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
  347. path: |
  348. bin/*
  349. !bin/*-ladspa.dll
  350. !bin/*-dssi.dll
  351. source-tarball:
  352. runs-on: ubuntu-20.04
  353. steps:
  354. - uses: actions/checkout@v3
  355. with:
  356. submodules: recursive
  357. - name: Set up dependencies
  358. run: |
  359. sudo apt-get update -qq
  360. sudo apt-get install -yqq libgl1-mesa-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev gperf
  361. - name: Create source tarball
  362. run: |
  363. make tarball
  364. - name: Set sha8 (non-release)
  365. if: startsWith(github.ref, 'refs/tags/') != true
  366. id: slug1
  367. run: echo "::set-output name=sha8::$(echo ${{ github.sha }} | cut -c1-8)"
  368. - name: Set sha8 (release)
  369. if: startsWith(github.ref, 'refs/tags/')
  370. id: slug2
  371. run: echo "::set-output name=sha8::$(echo ${{ github.ref_name }})"
  372. - name: Set sha8
  373. id: slug
  374. run: echo "::set-output name=sha8::$(echo ${{ steps.slug1.outputs.sha8 || steps.slug2.outputs.sha8 }})"
  375. - uses: actions/upload-artifact@v3
  376. with:
  377. name: ${{ github.event.repository.name }}-source-${{ github.event.pull_request.number || steps.slug.outputs.sha8 }}
  378. path: |
  379. /home/runner/*.tar.xz
  380. /home/runner/*/*.tar.xz
  381. /home/runner/*/*/*.tar.xz
  382. - uses: softprops/action-gh-release@v1
  383. if: startsWith(github.ref, 'refs/tags/')
  384. with:
  385. tag_name: ${{ github.ref_name }}
  386. name: ${{ github.ref_name }}
  387. draft: false
  388. prerelease: false
  389. files: |
  390. /home/runner/*.tar.xz
  391. /home/runner/*/*.tar.xz
  392. /home/runner/*/*/*.tar.xz
  393. plugin-validation:
  394. runs-on: ubuntu-20.04
  395. steps:
  396. - uses: actions/checkout@v3
  397. with:
  398. submodules: recursive
  399. - name: Set up dependencies
  400. run: |
  401. # custom repos
  402. wget https://launchpad.net/~kxstudio-debian/+archive/kxstudio/+files/kxstudio-repos_11.1.0_all.deb
  403. sudo dpkg -i kxstudio-repos_11.1.0_all.deb
  404. sudo apt-get update -qq
  405. # build-deps
  406. sudo apt-get install -yqq libdbus-1-dev libgl1-mesa-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev gperf
  407. # runtime testing
  408. sudo apt-get install -yqq carla-git lilv-utils lv2-dev lv2lint kxstudio-lv2-extensions mod-lv2-extensions valgrind xvfb
  409. - name: Build plugins
  410. env:
  411. CFLAGS: -g
  412. CXXFLAGS: -g -DDPF_ABORT_ON_ERROR -DDPF_RUNTIME_TESTING
  413. LDFLAGS: -static-libgcc -static-libstdc++
  414. run: |
  415. make features
  416. make NOOPT=true SKIP_STRIPPING=true -j $(nproc)
  417. - name: Run Ildaeil self-tests
  418. run: |
  419. xvfb-run valgrind \
  420. --gen-suppressions=all \
  421. --error-exitcode=255 \
  422. --leak-check=no \
  423. --track-origins=yes \
  424. --suppressions=./dpf/utils/valgrind-dpf.supp \
  425. ./bin/Ildaeil-FX selftest
  426. - name: Validate LV2 ttl syntax
  427. run: |
  428. lv2_validate \
  429. /usr/lib/lv2/mod.lv2/*.ttl \
  430. /usr/lib/lv2/kx-meta/*.ttl \
  431. /usr/lib/lv2/kx-control-input-port-change-request.lv2/*.ttl \
  432. /usr/lib/lv2/kx-programs.lv2/*.ttl \
  433. ./bin/*.lv2/*.ttl
  434. - name: Validate LV2 metadata and binaries
  435. run: |
  436. export LV2_PATH=/tmp/lv2-path
  437. mkdir ${LV2_PATH}
  438. cp -r bin/*.lv2 \
  439. /usr/lib/lv2/{atom,buf-size,core,data-access,kx-control-input-port-change-request,kx-programs,instance-access,midi,parameters,port-groups,port-props,options,patch,presets,resize-port,state,time,ui,units,urid,worker}.lv2 \
  440. ${LV2_PATH}
  441. lv2lint -s lv2_generate_ttl -l ld-linux-x86-64.so.2 -M nopack $(lv2ls)
  442. - name: Test LV2 plugins
  443. run: |
  444. export LV2_PATH=/tmp/lv2-path
  445. for p in $(lv2ls); do \
  446. env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \
  447. valgrind \
  448. --error-exitcode=255 \
  449. --leak-check=full \
  450. --track-origins=yes \
  451. --suppressions=./dpf/utils/valgrind-dpf.supp \
  452. /usr/lib/carla/carla-bridge-native lv2 "" ${p} 1>/dev/null; \
  453. done
  454. - name: Test VST2 plugins
  455. run: |
  456. for p in $(find bin/ | grep -e vst.so -e '.*\.vst/.*\.so'); do \
  457. env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \
  458. valgrind \
  459. --error-exitcode=255 \
  460. --leak-check=full \
  461. --track-origins=yes \
  462. --suppressions=./dpf/utils/valgrind-dpf.supp \
  463. /usr/lib/carla/carla-bridge-native vst2 ./${p} "" 1>/dev/null; \
  464. done
  465. - name: Test VST3 plugins
  466. run: |
  467. for p in $(ls bin/ | grep vst3); do \
  468. env CARLA_BRIDGE_DUMMY=1 CARLA_BRIDGE_TESTING=native \
  469. valgrind \
  470. --error-exitcode=255 \
  471. --leak-check=full \
  472. --track-origins=yes \
  473. --suppressions=./dpf/utils/valgrind-dpf.supp \
  474. /usr/lib/carla/carla-bridge-native vst3 ./bin/${p} "" 1>/dev/null; \
  475. done