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.

48 lines
1.8KB

  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-20_04:
  14. runs-on: ubuntu-20.04
  15. env:
  16. WINECC: winegcc-stable
  17. WINEDEBUG: "-all"
  18. steps:
  19. - uses: actions/checkout@v3
  20. - name: Fix GitHub's mess
  21. run: |
  22. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  23. sudo apt-get update -qq
  24. sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  25. sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
  26. - name: Set up dependencies
  27. run: |
  28. sudo dpkg --add-architecture i386
  29. sudo apt-get update -qq
  30. sudo apt-get install -yq g++-multilib libfreetype6-dev libgl1-mesa-dev libx11-dev libxcursor-dev libxext-dev pkg-config wine-stable wine64-tools
  31. 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
  32. - name: make
  33. run: make -j $(nproc)
  34. #- name: make wine32
  35. #run: make wine32 -j $(nproc)
  36. - name: make wine64
  37. run: make wine64 -j $(nproc)
  38. - name: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
  39. run: make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++ -j $(nproc)
  40. - name: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
  41. run: make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)
  42. - name: make plugin-wine
  43. run: make plugin-wine -j $(nproc)
  44. - name: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++
  45. run: make plugin-wine CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ -j $(nproc)