25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Check producing and starting releases

This commit is contained in:
Badlop 2022-02-10 16:53:30 +01:00
parent 0ef2624b57
commit f20e9e9b66

View File

@ -134,7 +134,6 @@ jobs:
make update
make
- run: make rel
- run: make install -s
- run: make hooks
- run: make options
@ -144,6 +143,30 @@ jobs:
[ ${{ matrix.rebar }} = 3 ] && true \
|| { cat dialyzer/error.log ; test ! -s dialyzer/error.log ; }
- name: Check Production Release
if: matrix.rebar == 3
run: |
make rel
RE=_build/prod/rel/ejabberd
$RE/bin/ejabberdctl start
$RE/bin/ejabberdctl started
$RE/bin/ejabberdctl stop
$RE/bin/ejabberdctl stopped
cat $RE/var/log/ejabberd/ejabberd.log
grep -q "is stopped in" $RE/var/log/ejabberd/ejabberd.log
- name: Check Development Release
if: matrix.rebar == 3
run: |
make dev
RE=_build/dev/rel/ejabberd
$RE/bin/ejabberdctl start
$RE/bin/ejabberdctl started
$RE/bin/ejabberdctl stop
$RE/bin/ejabberdctl stopped
cat $RE/var/log/ejabberd/ejabberd.log
grep -q "is stopped in" $RE/var/log/ejabberd/ejabberd.log
- name: Run tests
if: matrix.otp != 24
run: make test