Check producing and starting releases

This commit is contained in:
Badlop 2022-02-10 16:53:30 +01:00
parent 0ef2624b57
commit f20e9e9b66
1 changed files with 24 additions and 1 deletions

View File

@ -134,7 +134,6 @@ jobs:
make update make update
make make
- run: make rel
- run: make install -s - run: make install -s
- run: make hooks - run: make hooks
- run: make options - run: make options
@ -144,6 +143,30 @@ jobs:
[ ${{ matrix.rebar }} = 3 ] && true \ [ ${{ matrix.rebar }} = 3 ] && true \
|| { cat dialyzer/error.log ; test ! -s dialyzer/error.log ; } || { 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 - name: Run tests
if: matrix.otp != 24 if: matrix.otp != 24
run: make test run: make test