Audio plugin host https://kx.studio/carla
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.

build.yml 1.9KB

2 years ago
3 years ago
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. name: build
  2. on:
  3. push:
  4. branches:
  5. - '*'
  6. pull_request:
  7. branches:
  8. - '*'
  9. env:
  10. DEBIAN_FRONTEND: noninteractive
  11. HOMEBREW_NO_AUTO_UPDATE: 1
  12. WITH_LTO: false
  13. jobs:
  14. macos-11:
  15. runs-on: macos-11
  16. steps:
  17. - uses: actions/checkout@v3
  18. - name: Set up dependencies
  19. run: |
  20. brew install fluid-synth liblo libmagic libsndfile pkg-config pyqt@5 qt@5 sdl2
  21. - name: make features
  22. run: make features
  23. - name: make
  24. run: make -j $(sysctl -n hw.logicalcpu)
  25. ubuntu-20_04:
  26. runs-on: ubuntu-20.04
  27. steps:
  28. - uses: actions/checkout@v3
  29. - name: Fix GitHub's mess
  30. run: |
  31. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  32. sudo apt-get update -qq
  33. sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  34. - name: Set up dependencies
  35. run: |
  36. sudo dpkg --add-architecture i386
  37. sudo apt-get update -qq
  38. sudo apt-get install -yq libasound2-dev libfluidsynth-dev libgl1-mesa-dev liblo-dev libmagic-dev libpulse-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev pkg-config pyqt5-dev-tools qtbase5-dev
  39. sudo apt-get install -yq g++-multilib libfreetype6:i386 libfontconfig1:i386 libx11-6:i386 libxext6:i386
  40. # Fix 32bit bridge build
  41. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  42. sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
  43. sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
  44. sudo ln -s /usr/lib/i386-linux-gnu/libfontconfig.so.1 /usr/lib/i386-linux-gnu/libfontconfig.so
  45. - name: make features
  46. run: make features
  47. - name: make
  48. run: make -j $(nproc)
  49. - name: make posix32
  50. run: make posix32 -j $(nproc)