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.

125 lines
3.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-libsndfile mingw-w64-i686-pkg-config mingw-w64-i686-python-pyqt5
  35. # FIXME mingw-w64-i686-fluidsynth mingw-w64-i686-liblo
  36. - name: make features
  37. run: make features
  38. - name: make
  39. run: make
  40. msys2-x86_64:
  41. runs-on: windows-latest
  42. defaults:
  43. run:
  44. shell: msys2 {0}
  45. steps:
  46. - uses: actions/checkout@v2
  47. - uses: msys2/setup-msys2@v2
  48. with:
  49. msystem: mingw64
  50. install: base-devel make mingw-w64-x86_64-toolchain mingw-w64-x86_64-libsndfile mingw-w64-x86_64-pkg-config mingw-w64-x86_64-python-pyqt5
  51. # FIXME mingw-w64-x86_64-fluidsynth mingw-w64-x86_64-liblo
  52. - name: make features
  53. run: make features
  54. - name: make
  55. run: make -j $(nproc)
  56. ubuntu-18_04:
  57. runs-on: ubuntu-18.04
  58. steps:
  59. - uses: actions/checkout@v2
  60. - name: Set up dependencies
  61. run: |
  62. sudo apt-get update -qq
  63. sudo apt-get install -yq libasound2-dev libfluidsynth-dev libgl1-mesa-dev libgtk2.0-dev libgtk-3-dev liblo-dev libmagic-dev libpulse-dev libqt4-dev libsndfile1-dev libx11-dev pkg-config pyqt5-dev-tools qtbase5-dev
  64. - name: make features
  65. run: make features
  66. - name: make
  67. run: make -j $(nproc)
  68. ubuntu-20_04:
  69. runs-on: ubuntu-20.04
  70. steps:
  71. - uses: actions/checkout@v2
  72. - name: Set up dependencies
  73. run: |
  74. sudo apt-get update -qq
  75. sudo apt-get install -yq libasound2-dev libfluidsynth-dev libgl1-mesa-dev libgtk2.0-dev libgtk-3-dev liblo-dev libmagic-dev libpulse-dev libsndfile1-dev libx11-dev pkg-config pyqt5-dev-tools qtbase5-dev
  76. - name: make features
  77. run: make features
  78. - name: make
  79. run: make -j $(nproc)
  80. ubuntu-mingw-win32:
  81. runs-on: ubuntu-20.04
  82. env:
  83. CC: i686-w64-mingw32-gcc
  84. CXX: i686-w64-mingw32-g++
  85. EXE_WRAPPER: wine
  86. PKG_CONFIG: "false"
  87. WINEDEBUG: "-all"
  88. steps:
  89. - uses: actions/checkout@v2
  90. - name: Set up dependencies
  91. run: |
  92. sudo dpkg --add-architecture i386
  93. sudo apt-get update -qq
  94. sudo apt-get install -yq binutils-mingw-w64-i686 g++-mingw-w64-i686 mingw-w64 wine-stable:i386
  95. - name: make features
  96. run: make features
  97. - name: make
  98. run: make -j $(nproc)
  99. ubuntu-mingw-win64:
  100. runs-on: ubuntu-20.04
  101. env:
  102. CC: x86_64-w64-mingw32-gcc
  103. CXX: x86_64-w64-mingw32-g++
  104. EXE_WRAPPER: wine
  105. PKG_CONFIG: "false"
  106. WINEDEBUG: "-all"
  107. steps:
  108. - uses: actions/checkout@v2
  109. - name: Set up dependencies
  110. run: |
  111. sudo apt-get update -qq
  112. sudo apt-get install -yq binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 mingw-w64 wine-stable
  113. - name: make features
  114. run: make features
  115. - name: make
  116. run: make -j $(nproc)