mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Check producing and starting releases
This commit is contained in:
parent
0ef2624b57
commit
f20e9e9b66
25
.github/workflows/ci.yml
vendored
25
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user