elixir_apps_check.yaml 1.2 KB

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