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.

489 lines
21KB

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