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.

76 lines
3.1KB

  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@v3
  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@v3
  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 libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  52. sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
  53. - name: Set up dependencies
  54. run: |
  55. sudo dpkg --add-architecture i386
  56. sudo apt-get update -qq
  57. sudo apt-get install -yq g++-multilib libfreetype6-dev libgl1-mesa-dev libx11-dev libxcursor-dev libxext-dev pkg-config wine-stable wine64-tools
  58. 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
  59. - name: make
  60. run: make -j $(nproc)
  61. #- name: make wine32
  62. #run: make wine32 -j $(nproc)
  63. - name: make wine64
  64. run: make wine64 -j $(nproc)
  65. - name: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
  66. run: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ -j $(nproc)
  67. - name: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
  68. run: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)
  69. - name: make plugin-wine
  70. run: make plugin-wine -j $(nproc)
  71. - name: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
  72. run: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)