move to github actions for CI
This commit is contained in:
parent
f41b847b0c
commit
2e1b59ece6
4 changed files with 36 additions and 24 deletions
31
.github/workflows/main.yml
vendored
Normal file
31
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: Common Test
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
push:
|
||||
branches:
|
||||
- 'main'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Test on OTP ${{ matrix.otp_version }} and ${{ matrix.os }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
otp_version: ['23.2.1', '22.3.4.2', '21.3.8.16', '20.3.8.21', '19.3.6.13']
|
||||
os: [ubuntu-latest]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: bajankristof/setup-erlang@master
|
||||
with:
|
||||
otp-version: ${{ matrix.otp_version }}
|
||||
|
||||
- name: Compile
|
||||
run: rebar3 compile
|
||||
- name: EUnit tests
|
||||
run: rebar3 eunit
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,6 +7,7 @@ doc/edoc-info
|
|||
doc/erlang.png
|
||||
ebin/*
|
||||
.*
|
||||
!.github
|
||||
_build
|
||||
erl_crash.dump
|
||||
*.pyc
|
||||
|
|
22
.travis.yml
22
.travis.yml
|
@ -1,22 +0,0 @@
|
|||
language: erlang
|
||||
otp_release:
|
||||
- 18.0
|
||||
- 17.0
|
||||
- R16B03-1
|
||||
- R16B03
|
||||
- R16B02
|
||||
- R16B01
|
||||
- R16B
|
||||
script: "./rebar3 update && ./rebar3 compile && ./rebar3 eunit"
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
notifications:
|
||||
email:
|
||||
- core@erlware.org
|
||||
irc:
|
||||
channels:
|
||||
- "irc.freenode.org#erlware"
|
||||
use_notice: true
|
||||
skip_join: true
|
||||
sudo: false
|
|
@ -1,6 +1,8 @@
|
|||
{"1.1.0",
|
||||
{"1.2.0",
|
||||
[{<<"cf">>,{pkg,<<"cf">>,<<"0.3.1">>},0}]}.
|
||||
[
|
||||
{pkg_hash,[
|
||||
{<<"cf">>, <<"5CB902239476E141EA70A740340233782D363A31EEA8AD37049561542E6CD641">>}]}
|
||||
{<<"cf">>, <<"5CB902239476E141EA70A740340233782D363A31EEA8AD37049561542E6CD641">>}]},
|
||||
{pkg_hash_ext,[
|
||||
{<<"cf">>, <<"315E8D447D3A4B02BCDBFA397AD03BBB988A6E0AA6F44D3ADD0F4E3C3BF97672">>}]}
|
||||
].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue