elixir_apps_check.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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-26:1.13.4-25.1.2-2-ubuntu20.04"
  9. strategy:
  10. fail-fast: false
  11. matrix:
  12. profile:
  13. - emqx
  14. - emqx-enterprise
  15. - emqx-pkg
  16. - emqx-enterprise-pkg
  17. steps:
  18. - name: fix_git_permission
  19. run: git config --global --add safe.directory '/__w/emqx/emqx'
  20. - name: Checkout
  21. uses: actions/checkout@v3
  22. with:
  23. fetch-depth: 0
  24. - name: ensure rebar
  25. run: ./scripts/ensure-rebar3.sh
  26. - name: Work around https://github.com/actions/checkout/issues/766
  27. run: |
  28. git config --global --add safe.directory "$GITHUB_WORKSPACE"
  29. - name: check applications
  30. run: ./scripts/check-elixir-applications.exs
  31. env:
  32. MIX_ENV: ${{ matrix.profile }}
  33. # - name: check applications started with emqx_machine
  34. # run: ./scripts/check-elixir-emqx-machine-boot-discrepancies.exs
  35. # env:
  36. # MIX_ENV: ${{ matrix.profile }}
  37. ...