Cross-Platform build scripts for audio plugins
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.

101 lines
3.1KB

  1. language: cpp
  2. cache:
  3. directories:
  4. - ${HOME}/PawPawBuilds/debs
  5. - ${HOME}/PawPawBuilds/downloads
  6. env:
  7. global:
  8. - PLUGINS_BASE="abgate artyfx caps dpf-plugins fomp mda"
  9. - PLUGINS_CROSS="blop"
  10. - PLUGINS_DISTRHO="distrho-ports-arctican distrho-ports-dexed distrho-ports-drowaudio distrho-ports-klangfalter distrho-ports-luftikus distrho-ports-obxd distrho-ports-pitched-delay distrho-ports-refine distrho-ports-tal-plugins distrho-ports-temper distrho-ports-vex distrho-ports-wolpertinger"
  11. jobs:
  12. include:
  13. # linux native build
  14. - name: "Linux native"
  15. os: linux
  16. compiler: gcc
  17. dist: bionic
  18. env:
  19. - TARGET="linux"
  20. - PLUGINS="${PLUGINS_BASE} ${PLUGINS_CROSS}"
  21. # linux with macOS cross-compilation
  22. - name: "macOS cross-compiled"
  23. os: linux
  24. compiler: gcc
  25. dist: bionic
  26. env:
  27. - TARGET="macos-old"
  28. - PLUGINS="${PLUGINS_BASE}"
  29. # linux with win32 cross-compilation
  30. - name: "win32 cross-compiled"
  31. os: linux
  32. compiler: gcc
  33. dist: bionic
  34. env:
  35. - TARGET="win32"
  36. - PLUGINS="${PLUGINS_BASE} ${PLUGINS_CROSS}"
  37. services:
  38. - xvfb
  39. # linux with win64 cross-compilation
  40. - name: "win64 cross-compiled"
  41. os: linux
  42. compiler: gcc
  43. dist: bionic
  44. env:
  45. - TARGET="win64"
  46. - PLUGINS="${PLUGINS_BASE} ${PLUGINS_CROSS}"
  47. services:
  48. - xvfb
  49. # macOS native intel build
  50. - name: "macOS native intel"
  51. os: osx
  52. osx_image: xcode9.4
  53. env:
  54. - TARGET="macos"
  55. - PLUGINS="${PLUGINS_BASE} ${PLUGINS_CROSS}"
  56. # macOS native universal build
  57. #- name: "macOS native universal"
  58. #os: osx
  59. #osx_image: xcode12u
  60. #env:
  61. #- TARGET="macos-universal"
  62. #- PLUGINS="${PLUGINS_BASE} ${PLUGINS_CROSS}"
  63. before_install:
  64. - bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh
  65. install:
  66. - bash ${TRAVIS_BUILD_DIR}/.travis/install.sh
  67. script:
  68. - bash ${TRAVIS_BUILD_DIR}/bootstrap-plugins.sh ${TARGET}
  69. - bash ${TRAVIS_BUILD_DIR}/build-plugins.sh ${TARGET} ${PLUGINS}
  70. before_deploy:
  71. - bash ${TRAVIS_BUILD_DIR}/pack-plugins.sh ${TARGET} ${PLUGINS}
  72. deploy:
  73. provider: releases
  74. api_key:
  75. secure: "xKXvMWEvj92IsFINpGlYEJeidLRoTeLIwrWVO06UrNNVCPiWC9z64Xthx/0xqQEv+2PA5GLkh9lnTm7aqQKbMNiVj4sQCcg3sVXEhkGkr27KNjHuQiFao+IeotU6bVTObzGhNR+US3LkRK9RSSvnmDBSUQB16+YgG6PZyXH7mQfoLycQQ8z24hLc4P2gGXbgd23viqZVxBh15HBm8jSm0q5Y5JZ2D/ETQWIijv+Cd7f3Q4j989Q4ZULiDyPs6gMR6Klr85Z8iNXEZRCw/dJ800IrWV9tetJFZFVOG2nWATPSFD9L1DLlJtD0tPJjk/n7DpUEivdrrLgm2C1MaTfDWQU7OOktkcNv6oUB++hWqD/d9bj1teSu9lrUkAS4QPWGWgsMQH/eWquoS6vQOE7ERAHTDgbsS1aPxnuWyG2lyefbSEJCXBOpbcWLAfAr3cdkS+QhFHZzKvZLwJZFkKR0FEKKPkt+CViLmtSbeM7uFRhX3B4uA9EByZonlvupgKfyt/WKoqpsb1hF16tVrZOmTFf2/btLOw8PUD1opAx0aXjH+XcWH6y93wsP41E3VMO/gc8jc7npa+JsMDXaHFf/DMQvj9rVF8deHoshx8Sl3n0RpEhMyV+lXKKfewryqnfWNGak7wNQQhFr4Xqv6mleBFAX1Miy12KkzYxltfwi53o="
  76. file_glob: true
  77. file:
  78. - setup/inno/PawPaw-*.exe
  79. - setup/macos/PawPaw-*.pkg
  80. #- setup/macos-universal/PawPaw-*.pkg
  81. skip_cleanup: true
  82. on:
  83. all_branches: true
  84. #notifications:
  85. #email: true
  86. #irc: "ircs://chat.freenode.net:7070/#kxstudio"