elixir_apps_check.yaml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ---
  2. name: Check Elixir Release Applications
  3. on: [pull_request]
  4. jobs:
  5. elixir_apps_check:
  6. runs-on: ubuntu-20.04
  7. container: hexpm/elixir:1.13.1-erlang-24.2-alpine-3.15.0
  8. strategy:
  9. fail-fast: false
  10. matrix:
  11. release_type:
  12. - cloud
  13. - edge
  14. package_type:
  15. - bin
  16. - pkg
  17. edition_type:
  18. - community
  19. - enterprise
  20. exclude:
  21. - release_type: edge
  22. package_type: bin
  23. edition_type: enterprise
  24. - release_type: edge
  25. package_type: pkg
  26. edition_type: enterprise
  27. steps:
  28. - name: install
  29. run: apk add make bash curl git
  30. - name: Checkout
  31. uses: actions/checkout@v2.4.0
  32. with:
  33. fetch-depth: 0
  34. - name: ensure rebar
  35. run: ./scripts/ensure-rebar3.sh 3.16.1-emqx-1
  36. - name: check applications
  37. run: ./scripts/check-elixir-applications.exs
  38. env:
  39. EMQX_RELEASE_TYPE: ${{ matrix.release_type }}
  40. EMQX_PACKAGE_TYPE: ${{ matrix.package_type }}
  41. EMQX_EDITION_TYPE: ${{ matrix.edition_type }}
  42. ...