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.

43 lines
1.8KB

  1. name: wine
  2. on: [push, pull_request]
  3. env:
  4. DEBIAN_FRONTEND: noninteractive
  5. HOMEBREW_NO_AUTO_UPDATE: 1
  6. jobs:
  7. ubuntu-20_04:
  8. runs-on: ubuntu-20.04
  9. env:
  10. WINECC: winegcc-stable
  11. WINEDEBUG: "-all"
  12. steps:
  13. - uses: actions/checkout@v4
  14. - name: Fix GitHub's mess
  15. run: |
  16. sudo rm -f /etc/apt/sources.list.d/microsoft-prod.list
  17. sudo apt-get update -qq
  18. sudo apt-get install -yqq --allow-downgrades libgd3/focal libpcre2-8-0/focal libpcre2-16-0/focal libpcre2-32-0/focal libpcre2-posix2/focal
  19. sudo apt-get purge -yqq libmono* moby* mono* php* libgdiplus libpcre2-posix3 libzip4
  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)