elixir_apps_check.yaml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ---
  2. name: Check Elixir Release Applications
  3. on: [pull_request, push]
  4. jobs:
  5. elixir_apps_check:
  6. runs-on: ubuntu-20.04
  7. # just use the latest builder
  8. container: "ghcr.io/emqx/emqx-builder/5.0-10:1.13.3-24.2.1-1-ubuntu20.04"
  9. strategy:
  10. fail-fast: false
  11. matrix:
  12. release_type:
  13. - cloud
  14. - edge
  15. package_type:
  16. - bin
  17. - pkg
  18. edition_type:
  19. - community
  20. - enterprise
  21. exclude:
  22. - release_type: edge
  23. package_type: bin
  24. edition_type: enterprise
  25. - release_type: edge
  26. package_type: pkg
  27. edition_type: enterprise
  28. steps:
  29. - name: Checkout
  30. uses: actions/checkout@v2.4.0
  31. with:
  32. fetch-depth: 0
  33. - name: ensure rebar
  34. run: ./scripts/ensure-rebar3.sh 3.16.1-emqx-1
  35. - name: check applications
  36. run: ./scripts/check-elixir-applications.exs
  37. - name: check applications started with emqx_machine
  38. run: ./scripts/check-elixir-emqx-machine-boot-discrepancies.exs
  39. env:
  40. EMQX_RELEASE_TYPE: ${{ matrix.release_type }}
  41. EMQX_PACKAGE_TYPE: ${{ matrix.package_type }}
  42. EMQX_EDITION_TYPE: ${{ matrix.edition_type }}
  43. ...