mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Update CI
This commit is contained in:
parent
3d48e58111
commit
e84e06d8f9
4 changed files with 6 additions and 24 deletions
3
Makefile
3
Makefile
|
@ -10,7 +10,8 @@ PROJECT_REGISTERED = cowboy_clock
|
||||||
COMPILE_FIRST = cowboy_middleware cowboy_stream cowboy_sub_protocol
|
COMPILE_FIRST = cowboy_middleware cowboy_stream cowboy_sub_protocol
|
||||||
PLT_APPS = public_key ssl
|
PLT_APPS = public_key ssl
|
||||||
CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl
|
CT_OPTS += -ct_hooks cowboy_ct_hook [] # -boot start_sasl
|
||||||
CI_OTP = OTP-18.0.3 OTP-18.1
|
|
||||||
|
CI_OTP = OTP-18.0.3 OTP-18.1.5 OTP-18.2.2
|
||||||
|
|
||||||
# Dependencies.
|
# Dependencies.
|
||||||
|
|
||||||
|
|
19
all.sh
19
all.sh
|
@ -1,19 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
KERL_INSTALL_PATH=~/erlang
|
|
||||||
KERL_RELEASES="17.0 17.1.2 17.3"
|
|
||||||
|
|
||||||
make build-ct-suites
|
|
||||||
|
|
||||||
for rel in $KERL_RELEASES
|
|
||||||
do
|
|
||||||
echo
|
|
||||||
echo " TESTING $rel"
|
|
||||||
echo
|
|
||||||
. $KERL_INSTALL_PATH/$rel/activate
|
|
||||||
cp ~/.kerl/builds/$rel/otp_src_*/lib/ssl/test/erl_make_certs.erl \
|
|
||||||
deps/ct_helper/src/
|
|
||||||
CT_OPTS="-label $rel" make tests
|
|
||||||
done
|
|
||||||
|
|
||||||
xdg-open logs/all_runs.html
|
|
|
@ -13,11 +13,11 @@ dependencies:
|
||||||
- sudo apt-get install autoconf2.59
|
- sudo apt-get install autoconf2.59
|
||||||
- cd $HOME/bin && ln -s /usr/bin/autoconf2.59 autoconf
|
- cd $HOME/bin && ln -s /usr/bin/autoconf2.59 autoconf
|
||||||
- cd $HOME/bin && ln -s /usr/bin/autoheader2.59 autoheader
|
- cd $HOME/bin && ln -s /usr/bin/autoheader2.59 autoheader
|
||||||
- make ci-prepare:
|
- MAKEFLAGS="-j 32" make ci-prepare:
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- source $HOME/erlang/OTP-18.0.2/activate && make dialyze
|
- source $HOME/erlang/OTP-18.2.2/activate && make dialyze
|
||||||
- make -k ci:
|
- make -k ci:
|
||||||
timeout: 3600
|
timeout: 3600
|
||||||
|
|
2
erlang.mk
vendored
2
erlang.mk
vendored
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST)))
|
ERLANG_MK_FILENAME := $(realpath $(lastword $(MAKEFILE_LIST)))
|
||||||
|
|
||||||
ERLANG_MK_VERSION = 2.0.0-pre.2-72-g86ddfb5
|
ERLANG_MK_VERSION = 2.0.0-pre.2-73-g87285ad
|
||||||
|
|
||||||
# Core configuration.
|
# Core configuration.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue