elixir_release.yml 890 B

1234567891011121314151617181920212223242526272829303132333435
  1. # FIXME: temporary workflow for testing; remove later
  2. name: Elixir Build (temporary)
  3. concurrency:
  4. group: mix-${{ github.event_name }}-${{ github.ref }}
  5. cancel-in-progress: true
  6. on:
  7. pull_request:
  8. workflow_dispatch:
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. # FIXME: use tagged version once merged
  13. container: ghcr.io/emqx/emqx-builder/elixir:1.13.1-23.3.4.9-3-ubuntu20.04
  14. steps:
  15. - name: Checkout
  16. uses: actions/checkout@v2.4.0
  17. - name: install tools
  18. run: apt update && apt install netcat-openbsd
  19. - name: elixir release
  20. run: make emqx-elixir
  21. - name: start release
  22. run: |
  23. cd _build/prod/rel/emqx
  24. bin/emqx start
  25. - name: check if started
  26. run: |
  27. sleep 10
  28. nc -zv localhost 1883
  29. cd _build/prod/rel/emqx
  30. bin/emqx ping
  31. bin/emqx ctl status