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.

139 lines
4.6KB

  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. jobs:
  13. macos-10_15:
  14. runs-on: macos-10.15
  15. steps:
  16. - uses: actions/checkout@v2
  17. - name: Set up dependencies
  18. run: |
  19. brew install fluid-synth liblo libmagic libsndfile pkg-config pyqt@5
  20. - name: make features
  21. run: make features
  22. - name: make
  23. run: make -j $(sysctl -n hw.logicalcpu)
  24. msys2-i686:
  25. runs-on: windows-latest
  26. defaults:
  27. run:
  28. shell: msys2 {0}
  29. steps:
  30. - uses: actions/checkout@v2
  31. - uses: msys2/setup-msys2@v2
  32. with:
  33. msystem: mingw32
  34. install: base-devel make mingw-w64-i686-toolchain mingw-w64-i686-fluidsynth mingw-w64-i686-liblo mingw-w64-i686-libsndfile mingw-w64-i686-pkg-config mingw-w64-i686-python-pyqt5
  35. - name: make features
  36. run: make features
  37. - name: make
  38. run: make -j $(nproc)
  39. msys2-x86_64:
  40. runs-on: windows-latest
  41. defaults:
  42. run:
  43. shell: msys2 {0}
  44. steps:
  45. - uses: actions/checkout@v2
  46. - uses: msys2/setup-msys2@v2
  47. with:
  48. msystem: mingw64
  49. install: base-devel make mingw-w64-x86_64-toolchain mingw-w64-x86_64-fluidsynth mingw-w64-x86_64-liblo mingw-w64-x86_64-libsndfile mingw-w64-x86_64-pkg-config mingw-w64-x86_64-python-pyqt5
  50. - name: make features
  51. run: make features
  52. - name: make
  53. run: make -j $(nproc)
  54. ubuntu-18_04:
  55. runs-on: ubuntu-18.04
  56. steps:
  57. - uses: actions/checkout@v2
  58. - name: Set up dependencies
  59. run: |
  60. sudo dpkg --add-architecture i386
  61. sudo apt-get update -qq
  62. sudo apt-get install -yq libasound2-dev libfluidsynth-dev libgl1-mesa-dev liblo-dev libmagic-dev libpulse-dev libqt4-dev libsndfile1-dev libx11-dev libxcursor-dev libxext-dev libxrandr-dev pkg-config pyqt5-dev-tools qtbase5-dev
  63. sudo apt-get install -yq g++-multilib libfreetype6:i386 libx11-6:i386 libxext6:i386
  64. # Fix 32bit bridge build
  65. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  66. sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
  67. sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
  68. - name: make features
  69. run: make features
  70. - name: make
  71. run: make -j $(nproc)
  72. - name: make posix32
  73. run: make posix32 -j $(nproc)
  74. ubuntu-20_04:
  75. runs-on: ubuntu-20.04
  76. steps:
  77. - uses: actions/checkout@v2
  78. - name: Set up dependencies
  79. run: |
  80. sudo dpkg --add-architecture i386
  81. sudo apt-get update -qq
  82. 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
  83. sudo apt-get install -yq g++-multilib libfreetype6:i386 libx11-6:i386 libxext6:i386
  84. # Fix 32bit bridge build
  85. sudo ln -s /usr/lib/i386-linux-gnu/libX11.so.6 /usr/lib/i386-linux-gnu/libX11.so
  86. sudo ln -s /usr/lib/i386-linux-gnu/libXext.so.6 /usr/lib/i386-linux-gnu/libXext.so
  87. sudo ln -s /usr/lib/i386-linux-gnu/libfreetype.so.6 /usr/lib/i386-linux-gnu/libfreetype.so
  88. - name: make features
  89. run: make features
  90. - name: make
  91. run: make -j $(nproc)
  92. - name: make posix32
  93. run: make posix32 -j $(nproc)
  94. ubuntu-mingw-win32:
  95. runs-on: ubuntu-20.04
  96. env:
  97. CC: i686-w64-mingw32-gcc
  98. CXX: i686-w64-mingw32-g++
  99. EXE_WRAPPER: wine
  100. PKG_CONFIG: "false"
  101. WINEDEBUG: "-all"
  102. steps:
  103. - uses: actions/checkout@v2
  104. - name: Set up dependencies
  105. run: |
  106. sudo dpkg --add-architecture i386
  107. sudo apt-get update -qq
  108. sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386
  109. - name: make features
  110. run: make features
  111. - name: make
  112. run: make -j $(nproc)
  113. ubuntu-mingw-win64:
  114. runs-on: ubuntu-20.04
  115. env:
  116. CC: x86_64-w64-mingw32-gcc
  117. CXX: x86_64-w64-mingw32-g++
  118. EXE_WRAPPER: wine
  119. PKG_CONFIG: "false"
  120. WINEDEBUG: "-all"
  121. steps:
  122. - uses: actions/checkout@v2
  123. - name: Set up dependencies
  124. run: |
  125. sudo apt-get update -qq
  126. sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable
  127. - name: make features
  128. run: make features
  129. - name: make
  130. run: make -j $(nproc)