mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
CI/Runtime: Test also with the new Erlang/OTP 27.0-rc1
This commit is contained in:
parent
1ddc4a5c5d
commit
8c64ce67fc
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
otp: ['20.0', '25.3', '26.1']
|
otp: ['20.0', '25', '26', '27.0-rc1']
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
services:
|
services:
|
||||||
redis:
|
redis:
|
||||||
@ -38,7 +38,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Test shell scripts
|
- name: Test shell scripts
|
||||||
if: matrix.otp == '25.3'
|
if: matrix.otp == '26'
|
||||||
run: |
|
run: |
|
||||||
shellcheck test/ejabberd_SUITE_data/gencerts.sh
|
shellcheck test/ejabberd_SUITE_data/gencerts.sh
|
||||||
shellcheck tools/captcha.sh
|
shellcheck tools/captcha.sh
|
||||||
@ -46,7 +46,6 @@ jobs:
|
|||||||
shellcheck -x ejabberdctl.template
|
shellcheck -x ejabberdctl.template
|
||||||
|
|
||||||
- name: Get specific Erlang/OTP
|
- name: Get specific Erlang/OTP
|
||||||
if: matrix.otp != '25.3'
|
|
||||||
uses: erlef/setup-beam@v1
|
uses: erlef/setup-beam@v1
|
||||||
with:
|
with:
|
||||||
otp-version: ${{ matrix.otp }}
|
otp-version: ${{ matrix.otp }}
|
||||||
@ -111,7 +110,7 @@ jobs:
|
|||||||
key: ${{matrix.otp}}-${{hashFiles('rebar.config')}}
|
key: ${{matrix.otp}}-${{hashFiles('rebar.config')}}
|
||||||
|
|
||||||
- name: Download test logs
|
- name: Download test logs
|
||||||
if: matrix.otp == '25.3' && github.repository == 'processone/ejabberd'
|
if: matrix.otp == '26' && github.repository == 'processone/ejabberd'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: |
|
run: |
|
||||||
mkdir -p _build/test
|
mkdir -p _build/test
|
||||||
@ -191,7 +190,7 @@ jobs:
|
|||||||
find logs/ -name exunit.log -exec cat '{}' ';'
|
find logs/ -name exunit.log -exec cat '{}' ';'
|
||||||
|
|
||||||
- name: Send to coveralls
|
- name: Send to coveralls
|
||||||
if: matrix.otp == '25.3'
|
if: matrix.otp == '26'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
|
10
.github/workflows/runtime.yml
vendored
10
.github/workflows/runtime.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
otp: ['20.3', '25.3', '26']
|
otp: ['20', '25', '26', '27']
|
||||||
rebar: ['rebar', 'rebar3']
|
rebar: ['rebar', 'rebar3']
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container:
|
container:
|
||||||
@ -149,7 +149,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
otp: ['23.0', '25.3', '26']
|
otp: ['23.0', '25', '26', '27.0-rc1']
|
||||||
elixir: ['1.13.4', '1.15.7', '1.16']
|
elixir: ['1.13.4', '1.15.7', '1.16']
|
||||||
exclude:
|
exclude:
|
||||||
- otp: '23.0'
|
- otp: '23.0'
|
||||||
@ -158,6 +158,8 @@ jobs:
|
|||||||
elixir: '1.16'
|
elixir: '1.16'
|
||||||
- otp: '26'
|
- otp: '26'
|
||||||
elixir: '1.13.4'
|
elixir: '1.13.4'
|
||||||
|
- otp: '27.0-rc1'
|
||||||
|
elixir: '1.13.4'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -282,7 +284,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
otp: ['23.0', '25.3', '26']
|
otp: ['23.0', '25', '26', '27.0-rc1']
|
||||||
elixir: ['1.13.4', '1.15.7', '1.16']
|
elixir: ['1.13.4', '1.15.7', '1.16']
|
||||||
exclude:
|
exclude:
|
||||||
- otp: '23.0'
|
- otp: '23.0'
|
||||||
@ -291,6 +293,8 @@ jobs:
|
|||||||
elixir: '1.16'
|
elixir: '1.16'
|
||||||
- otp: '26'
|
- otp: '26'
|
||||||
elixir: '1.13.4'
|
elixir: '1.13.4'
|
||||||
|
- otp: '27.0-rc1'
|
||||||
|
elixir: '1.13.4'
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
Loading…
Reference in New Issue
Block a user