Carla binary releases 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.

160 lines
5.0KB

  1. name: plugins
  2. on:
  3. push:
  4. branches:
  5. - '*'
  6. pull_request:
  7. branches:
  8. - '*'
  9. env:
  10. BOOTSTRAP_VERSION: 1
  11. DEBIAN_FRONTEND: noninteractive
  12. HOMEBREW_NO_AUTO_UPDATE: 1
  13. jobs:
  14. # macOS native intel build
  15. macos:
  16. runs-on: macos-10.15
  17. steps:
  18. - uses: actions/checkout@v2
  19. - name: Set up cache
  20. uses: actions/cache@v2
  21. with:
  22. path: |
  23. ~/PawPawBuilds/builds
  24. ~/PawPawBuilds/downloads
  25. ~/PawPawBuilds/targets
  26. key: cache-macos
  27. - name: Set up dependencies
  28. run: |
  29. brew install cmake jq meson
  30. - name: Bootstrap macOS intel
  31. shell: bash
  32. run: |
  33. ./bootstrap-carla.sh macos && ./.cleanup.sh macos
  34. - name: Build macOS intel
  35. shell: bash
  36. run: |
  37. ./build-carla.sh macos ${PLUGINS_BASE} ${PLUGINS_CROSS} ${PLUGINS_DISTRHO_PORTS} && ./.cleanup.sh macos
  38. - uses: actions/upload-artifact@v2
  39. with:
  40. name: macOS intel package
  41. path: Carla/*.dmg
  42. # macOS native universal build
  43. macos_universal:
  44. runs-on: macos-latest
  45. steps:
  46. - uses: actions/checkout@v2
  47. - name: Set up cache
  48. uses: actions/cache@v2
  49. with:
  50. path: |
  51. ~/PawPawBuilds/builds
  52. ~/PawPawBuilds/downloads
  53. ~/PawPawBuilds/targets
  54. key: cache-macos-universal
  55. - name: Set up dependencies
  56. run: |
  57. brew install cmake jq meson
  58. - name: Bootstrap macOS universal
  59. shell: bash
  60. run: |
  61. ./bootstrap-carla.sh macos-universal && ./.cleanup.sh macos-universal
  62. - name: Build macOS universal
  63. shell: bash
  64. run: |
  65. ./build-carla.sh macos-universal ${PLUGINS_BASE} ${PLUGINS_CROSS} ${PLUGINS_DISTRHO_PORTS} && ./.cleanup.sh macos-universal
  66. - uses: actions/upload-artifact@v2
  67. with:
  68. name: macOS universal package
  69. path: Carla/*.dmg
  70. # linux with win32 cross-compilation
  71. win32:
  72. runs-on: ubuntu-20.04
  73. steps:
  74. - uses: actions/checkout@v2
  75. - name: Set up cache
  76. uses: actions/cache@v2
  77. with:
  78. path: |
  79. ~/PawPawBuilds/builds
  80. ~/PawPawBuilds/debs
  81. ~/PawPawBuilds/downloads
  82. ~/PawPawBuilds/targets
  83. key: cache-win32
  84. - name: Restore debian packages cache
  85. run: |
  86. if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \
  87. sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \
  88. fi
  89. - name: Set up dependencies
  90. run: |
  91. wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - && \
  92. sudo dpkg --add-architecture i386 && \
  93. sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' && \
  94. sudo apt-get install -y build-essential curl cmake jq llvm mingw-w64 qttools5-dev-tools winehq-stable \
  95. binutils-mingw-w64-i686 g++-mingw-w64-i686
  96. - name: Cache debian packages
  97. run: |
  98. mkdir -p ~/PawPawBuilds/debs && \
  99. sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/
  100. - name: Bootstrap win32 cross-compiled
  101. shell: bash
  102. run: |
  103. ./bootstrap-carla.sh win32 && ./.cleanup.sh win32
  104. - name: Build win32 cross-compiled
  105. shell: bash
  106. run: |
  107. ./build-carla.sh win32 ${PLUGINS_BASE} ${PLUGINS_CROSS} ${PLUGINS_DISTRHO_PORTS} && ./.cleanup.sh win32
  108. - uses: actions/upload-artifact@v2
  109. with:
  110. name: win32 installer
  111. path: Carla/*.zip
  112. # linux with win64 cross-compilation
  113. win64:
  114. runs-on: ubuntu-20.04
  115. steps:
  116. - uses: actions/checkout@v2
  117. - name: Set up cache
  118. uses: actions/cache@v2
  119. with:
  120. path: |
  121. ~/PawPawBuilds/builds
  122. ~/PawPawBuilds/debs
  123. ~/PawPawBuilds/downloads
  124. ~/PawPawBuilds/targets
  125. key: cache-win64
  126. - name: Restore debian packages cache
  127. run: |
  128. if [ -d ~/PawPawBuilds/debs ] && [ "$(ls ~/PawPawBuilds/debs | wc -l)" -ne 0 ]; then \
  129. sudo cp ~/PawPawBuilds/debs/*.deb /var/cache/apt/archives/; \
  130. fi
  131. - name: Set up dependencies
  132. run: |
  133. wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - && \
  134. sudo dpkg --add-architecture i386 && \
  135. sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' && \
  136. sudo apt-get update -qq && \
  137. sudo apt-get install -y build-essential curl cmake jq llvm mingw-w64 qttools5-dev-tools winehq-stable \
  138. binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64
  139. - name: Cache debian packages
  140. run: |
  141. mkdir -p ~/PawPawBuilds/debs && \
  142. sudo mv /var/cache/apt/archives/*.deb ~/PawPawBuilds/debs/
  143. - name: Bootstrap win64 cross-compiled
  144. shell: bash
  145. run: |
  146. ./bootstrap-carla.sh win64 && ./.cleanup.sh win64
  147. - name: Build win64 cross-compiled
  148. shell: bash
  149. run: |
  150. ./build-carla.sh win64 ${PLUGINS_BASE} ${PLUGINS_CROSS} ${PLUGINS_DISTRHO_PORTS} && ./.cleanup.sh win64
  151. - uses: actions/upload-artifact@v2
  152. with:
  153. name: win64 installer
  154. path: Carla/*.zip