🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
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.

66 lines
1.8 KiB

  1. name: CI
  2. on: [push]
  3. jobs:
  4. build:
  5. name: ${{matrix.config.name}}
  6. runs-on: ${{matrix.config.os}}
  7. strategy:
  8. fail-fast: false
  9. matrix:
  10. config:
  11. - {
  12. name: "Visual Studio 64-bit",
  13. os: windows-latest,
  14. cmake_opts: "-A x64 \
  15. -DALSOFT_BUILD_ROUTER=ON \
  16. -DALSOFT_REQUIRE_WINMM=ON \
  17. -DALSOFT_REQUIRE_DSOUND=ON \
  18. -DALSOFT_REQUIRE_WASAPI=ON",
  19. build_type: "Release"
  20. }
  21. - {
  22. name: "macOS",
  23. os: macos-latest,
  24. cmake_opts: "-DALSOFT_REQUIRE_COREAUDIO=ON",
  25. build_type: "Release"
  26. }
  27. - {
  28. name: "Linux",
  29. os: ubuntu-latest,
  30. cmake_opts: "-DALSOFT_REQUIRE_RTKIT=ON \
  31. -DALSOFT_REQUIRE_ALSA=ON \
  32. -DALSOFT_REQUIRE_OSS=ON \
  33. -DALSOFT_REQUIRE_PORTAUDIO=ON \
  34. -DALSOFT_REQUIRE_PULSEAUDIO=ON \
  35. -DALSOFT_REQUIRE_JACK=ON",
  36. deps_cmdline: "sudo apt update && sudo apt-get install -qq \
  37. libpulse-dev \
  38. portaudio19-dev \
  39. libasound2-dev \
  40. libjack-dev \
  41. qtbase5-dev \
  42. libdbus-1-dev",
  43. build_type: "Release"
  44. }
  45. steps:
  46. - uses: actions/checkout@v1
  47. - name: Install Dependencies
  48. shell: bash
  49. run: |
  50. if [[ ! -z "${{matrix.config.deps_cmdline}}" ]]; then
  51. eval ${{matrix.config.deps_cmdline}}
  52. fi
  53. - name: Configure
  54. shell: bash
  55. run: |
  56. cmake -B build -DCMAKE_BUILD_TYPE=${{matrix.config.build_type}} ${{matrix.config.cmake_opts}} .
  57. - name: Build
  58. shell: bash
  59. run: |
  60. cmake --build build --config ${{matrix.config.build_type}}