mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
CI: Migrate to Circle2.0
This commit is contained in:
parent
b4619e3393
commit
bcfb867e2e
2 changed files with 21 additions and 22 deletions
21
.circleci/config.yml
Normal file
21
.circleci/config.yml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
version: 2
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: ossrs/dev
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- cd trunk && ./configure --without-ssl --without-valgrind && make
|
||||||
|
test:
|
||||||
|
docker:
|
||||||
|
- image: ossrs/dev
|
||||||
|
steps:
|
||||||
|
- checkout
|
||||||
|
- cd trunk && ./configure --without-ssl --without-valgrind && make && ./objs/srs_utest
|
||||||
|
workflows:
|
||||||
|
version: 2
|
||||||
|
build_and_test:
|
||||||
|
jobs:
|
||||||
|
- build
|
||||||
|
- test
|
||||||
|
|
22
circle.yml
22
circle.yml
|
@ -1,22 +0,0 @@
|
||||||
## filter branches.
|
|
||||||
general:
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- 3.0release
|
|
||||||
- 2.0release
|
|
||||||
- develop
|
|
||||||
- master
|
|
||||||
- /feature\/.*/
|
|
||||||
- /hotfix\/.*/
|
|
||||||
- /release\/.*/
|
|
||||||
- /pull\/.*/
|
|
||||||
|
|
||||||
dependencies:
|
|
||||||
override:
|
|
||||||
- echo "ok"
|
|
||||||
|
|
||||||
test:
|
|
||||||
override:
|
|
||||||
- (cd trunk && ./configure --without-ssl --without-valgrind && make)
|
|
||||||
- (cd trunk && ./objs/srs_utest)
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue