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.

75 lines
3.0KB

  1. name: wine
  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. ubuntu-18_04:
  14. runs-on: ubuntu-18.04
  15. env:
  16. WINECC: winegcc-stable
  17. WINEDEBUG: "-all"
  18. steps:
  19. - uses: actions/checkout@v2
  20. - name: Set up dependencies
  21. run: |
  22. sudo dpkg --add-architecture i386
  23. sudo apt-get update -qq
  24. sudo apt-get install -yq g++-multilib libfreetype6-dev libgl1-mesa-dev libx11-dev libxcursor-dev libxext-dev pkg-config wine-stable wine64-tools
  25. sudo apt-get install -yq binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 g++-mingw-w64-i686 g++-mingw-w64-x86-64 mingw-w64
  26. - name: make
  27. run: make -j $(nproc)
  28. #- name: make wine32
  29. #run: make wine32 -j $(nproc)
  30. - name: make wine64
  31. run: make wine64 -j $(nproc)
  32. - name: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
  33. run: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ -j $(nproc)
  34. - name: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
  35. run: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)
  36. - name: make plugin-wine
  37. run: make plugin-wine -j $(nproc)
  38. - name: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
  39. run: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)
  40. ubuntu-20_04:
  41. runs-on: ubuntu-20.04
  42. env:
  43. WINECC: winegcc-stable
  44. WINEDEBUG: "-all"
  45. steps:
  46. - uses: actions/checkout@v2
  47. - name: Fix GitHub's mess
  48. run: |
  49. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  50. sudo apt-get update -qq
  51. sudo apt-get install -yqq --allow-downgrades libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  52. - name: Set up dependencies
  53. run: |
  54. sudo dpkg --add-architecture i386
  55. sudo apt-get update -qq
  56. sudo apt-get install -yq g++-multilib libfreetype6-dev libgl1-mesa-dev libx11-dev libxcursor-dev libxext-dev pkg-config wine-stable wine64-tools
  57. sudo apt-get install -yq binutils-mingw-w64-i686 binutils-mingw-w64-x86-64 g++-mingw-w64-i686 g++-mingw-w64-x86-64 mingw-w64
  58. - name: make
  59. run: make -j $(nproc)
  60. #- name: make wine32
  61. #run: make wine32 -j $(nproc)
  62. - name: make wine64
  63. run: make wine64 -j $(nproc)
  64. - name: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
  65. run: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ -j $(nproc)
  66. - name: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
  67. run: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)
  68. - name: make plugin-wine
  69. run: make plugin-wine -j $(nproc)
  70. - name: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
  71. run: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)