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.

51 lines
1.2KB

  1. name: cmake
  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. macos-11:
  14. runs-on: macos-11
  15. steps:
  16. - uses: actions/checkout@v3
  17. - name: Set up dependencies
  18. run: |
  19. brew install cmake fluid-synth liblo libmagic libsndfile pkg-config
  20. - name: configure
  21. run: cmake -S cmake -B cmake
  22. - name: build
  23. run: make -C cmake -j $(sysctl -n hw.logicalcpu)
  24. ubuntu-20_04:
  25. runs-on: ubuntu-20.04
  26. steps:
  27. - uses: actions/checkout@v3
  28. - name: Set up dependencies
  29. run: |
  30. sudo apt-get install -yqq cmake libfluidsynth-dev liblo-dev libmagic-dev libsndfile1-dev libx11-dev pkg-config
  31. - name: configure
  32. run: cmake -S cmake -B cmake
  33. - name: build
  34. run: make -C cmake -j $(nproc)
  35. ubuntu-22_04:
  36. runs-on: ubuntu-22.04
  37. steps:
  38. - uses: actions/checkout@v3
  39. - name: Set up dependencies
  40. run: |
  41. sudo apt-get install -yqq cmake libfluidsynth-dev liblo-dev libmagic-dev libsndfile1-dev libx11-dev pkg-config
  42. - name: configure
  43. run: cmake -S cmake -B cmake
  44. - name: build
  45. run: make -C cmake -j $(nproc)