elixir_apps_check.yaml 1.3 KB

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