aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-02-10 16:53:30 +0100
committerBadlop <badlop@process-one.net>2022-02-11 09:39:29 +0100
commitf20e9e9b66aacdd1522b235c1a7a84f80b431c1e (patch)
tree2253235ab1150c982956e596461e4d3e4b886ec9 /.github
parentProvide proper path to the compiled libraries in relive's ejabberdctl (diff)
Check producing and starting releases
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml25
1 files changed, 24 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d2be8e18c..c332d03a5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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