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.

76 lines
3.2KB

  1. name: build
  2. on: [push, pull_request]
  3. env:
  4. DEBIAN_FRONTEND: noninteractive
  5. HOMEBREW_NO_AUTO_UPDATE: 1
  6. WITH_LTO: false
  7. jobs:
  8. macos-11:
  9. runs-on: macos-11
  10. steps:
  11. - uses: actions/checkout@v4
  12. - name: Set up dependencies
  13. run: |
  14. brew install fluid-synth liblo libmagic libsndfile pkg-config sdl2
  15. # FIXME broken under homebrew for now
  16. # pyqt@5 qt@5
  17. - name: make features
  18. run: make features
  19. - name: make
  20. run: make -j $(sysctl -n hw.logicalcpu)
  21. ubuntu-20_04:
  22. runs-on: ubuntu-20.04
  23. steps:
  24. - uses: actions/checkout@v4
  25. - name: Fix GitHub's mess
  26. run: |
  27. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  28. sudo dpkg --add-architecture i386
  29. sudo apt-get update -qq
  30. sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  31. - name: Set up dependencies
  32. run: |
  33. sudo apt-get install -yqq libasound2-dev libfluidsynth-dev libgl1-mesa-dev liblo-dev libmagic-dev libpulse-dev libsdl2-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev pkg-config pyqt5-dev-tools qtbase5-dev
  34. sudo apt-get install -yqq g++-multilib libfreetype6:i386 libfontconfig1:i386 libx11-6:i386 libxext6:i386
  35. # Fix 32bit bridge build
  36. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  37. sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
  38. sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
  39. sudo ln -s /usr/lib/i386-linux-gnu/libfontconfig.so.1 /usr/lib/i386-linux-gnu/libfontconfig.so
  40. - name: make features
  41. run: make features
  42. - name: make
  43. run: make -j $(nproc)
  44. - name: make posix32
  45. run: make posix32 -j $(nproc)
  46. ubuntu-22_04:
  47. runs-on: ubuntu-22.04
  48. steps:
  49. - uses: actions/checkout@v4
  50. - name: Fix GitHub's mess
  51. run: |
  52. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  53. sudo dpkg --add-architecture i386
  54. sudo apt-get update -qq
  55. sudo apt-get install -yqq --allow-downgrades libc6:i386 libgcc-s1:i386 libstdc++6:i386
  56. - name: Set up dependencies
  57. run: |
  58. sudo apt-get install -yqq libasound2-dev libfluidsynth-dev libgl1-mesa-dev liblo-dev libmagic-dev libpulse-dev libsdl2-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev pkg-config pyqt5-dev-tools qtbase5-dev
  59. sudo apt-get install -yqq g++-multilib libfreetype6:i386 libfontconfig1:i386 libx11-6:i386 libxext6:i386
  60. # Fix 32bit bridge build
  61. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  62. sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
  63. sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
  64. sudo ln -s /usr/lib/i386-linux-gnu/libfontconfig.so.1 /usr/lib/i386-linux-gnu/libfontconfig.so
  65. - name: make features
  66. run: make features
  67. - name: make
  68. run: make -j $(nproc)
  69. - name: make posix32
  70. run: make posix32 -j $(nproc)