DISTRHO Nekobi
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.

build.yml 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. name: build
  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. # linux native build
  14. linux:
  15. runs-on: ubuntu-18.04
  16. steps:
  17. - uses: actions/checkout@v2
  18. with:
  19. submodules: recursive
  20. - name: Set up dependencies
  21. run: |
  22. sudo apt-get install -yq libasound2-dev libpulse-dev liblo-dev libgl1-mesa-dev
  23. - name: Build Linux native
  24. run: |
  25. make
  26. - uses: actions/upload-artifact@v2
  27. with:
  28. name: linux binaries
  29. path: bin/*
  30. # macOS native build
  31. macos:
  32. runs-on: macos-10.15
  33. steps:
  34. - uses: actions/checkout@v2
  35. with:
  36. submodules: recursive
  37. - name: Build macOS
  38. shell: bash
  39. run: |
  40. make
  41. - uses: actions/upload-artifact@v2
  42. with:
  43. name: macOS binaries
  44. path: bin/*
  45. # linux with win64 cross-compilation
  46. #win64:
  47. #runs-on: ubuntu-20.04
  48. #steps:
  49. #- uses: actions/checkout@v2
  50. #with:
  51. #submodules: recursive
  52. #- name: Set up cache
  53. #uses: actions/cache@v2
  54. #with:
  55. #path: ~/apt-archives
  56. #key: cache-win64
  57. #- name: Restore debian packages cache
  58. #run: |
  59. #if [ -d ~/apt-archives ] && [ "$(ls ~/apt-archives | wc -l)" -ne 0 ]; then \
  60. #sudo cp ~/apt-archives/*.deb /var/cache/apt/archives/; \
  61. #fi
  62. #- name: Set up dependencies
  63. #run: |
  64. #wget -qO- https://dl.winehq.org/wine-builds/winehq.key | sudo apt-key add - && \
  65. #sudo dpkg --add-architecture i386 && \
  66. #sudo apt-add-repository -y 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main' && \
  67. #sudo apt-get update -qq && \
  68. #sudo apt-get install -yq mingw-w64 binfmt-support binutils-mingw-w64-x86-64 g++-mingw-w64-x86-64 winehq-stable
  69. #- name: Cache debian packages
  70. #run: |
  71. #mkdir -p ~/apt-archives && \
  72. #sudo mv /var/cache/apt/archives/*.deb ~/apt-archives/
  73. #- name: Build win64 cross-compiled
  74. #shell: bash
  75. #run: |
  76. #make
  77. #- uses: actions/upload-artifact@v2
  78. #with:
  79. #name: win64 installer
  80. #path: setup/inno/PawPaw-*.exe