aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2022-04-27 14:52:07 +0200
committerBadlop <badlop@process-one.net>2022-05-02 20:20:13 +0200
commit011630f8b9707572fcb4b5ac31412690acb7a400 (patch)
tree600991befa32d3aa6189d7f3c29cf8a0723f8254 /.github/workflows/ci.yml
parentImplement batch operations in mnesia backend (diff)
CI: The Binaries job will soon be unnecessary
Diffstat (limited to '')
-rw-r--r--.github/workflows/ci.yml62
1 files changed, 0 insertions, 62 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b8a8b2c6f..52d6c4208 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -279,65 +279,3 @@ jobs:
'BEGIN{RS="\n=case";FS="\n"} /=result\s*failed/ {print "=case" $0}'
find logs/ -name error.log -exec cat '{}' ';'
find logs/ -name exunit.log -exec cat '{}' ';'
-
- binaries:
- name: Binaries
- needs: [tests]
- strategy:
- fail-fast: false
- matrix:
- otp: ['21.3']
- include:
- - otp: '21.3'
- rebar: 3
- os: ubuntu-20.04
- runs-on: ${{ matrix.os }}
- steps:
- - uses: actions/checkout@v2
- with:
- fetch-depth: 150
- - name: Get last git tag
- run: |
- export TAGLAST=`git ls-remote --tags --refs origin 'refs/tags/2*' \
- | tail -1 | awk '{print $2}'`
- git fetch origin "$TAGLAST:$TAGLAST"
- git describe
- - name: Get previous Erlang/OTP
- uses: ErlGang/setup-erlang@master
- with:
- otp-version: ${{ matrix.otp }}
- - name: Get a compatible Rebar3
- run: |
- wget https://github.com/erlang/rebar3/releases/download/3.15.2/rebar3 \
- && chmod +x rebar3
- - name: Cache Rebar3
- uses: actions/cache@v2
- with:
- path: ~/.cache/rebar3/
- key: ${{matrix.otp}}-${{matrix.rebar}}-${{hashFiles('rebar.config')}}
- - name: Prepare libraries
- run: |
- sudo apt-get -qq update
- sudo apt-get -qq install libexpat1-dev libgd-dev libpam0g-dev \
- libsqlite3-dev libwebp-dev libyaml-dev
- - name: Compile
- run: |
- ./autogen.sh
- ./configure --with-rebar=./rebar3 \
- --prefix=/tmp/ejabberd \
- --disable-debug \
- --enable-all \
- --disable-elixir
- make update
- make
- - run: make install -s
- - name: Strip binaries
- run: echo 'beam_lib:strip_files(filelib:wildcard(
- "/tmp/ejabberd/lib/*/ebin/*beam")), init:stop().' \
- | erl -boot start_clean
- - name: Upload binaries
- uses: actions/upload-artifact@v2
- with:
- name: ejabberd-binaries
- path: /tmp/ejabberd/lib
- retention-days: 7