From 868899165f7c1d50156605d0729b64896fc07a2f Mon Sep 17 00:00:00 2001 From: winlin Date: Thu, 4 Mar 2021 08:45:01 +0800 Subject: [PATCH] CI: Add centos8 and ubuntu20 to CI --- .circleci/config.yml | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 3a5dbe4cc..e286e6387 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,14 +1,40 @@ version: 2 jobs: - build-centos7: + build-centos7-baseline: docker: - image: ossrs/srs:dev steps: - checkout - run: | - cd trunk && ./configure && make && - ./configure --nasm=off --srtp-nasm=off && make clean && make && - ./configure --gb28181=on && make clean && make + cd trunk && ./configure && make + build-centos7-noasm: + docker: + - image: ossrs/srs:dev + steps: + - checkout + - run: | + cd trunk && ./configure --nasm=off --srtp-nasm=off && make + build-centos7-gb28181: + docker: + - image: ossrs/srs:dev + steps: + - checkout + - run: | + cd trunk && ./configure --gb28181=on && make + build-centos8-baseline: + docker: + - image: ossrs/srs:dev8 + steps: + - checkout + - run: | + cd trunk && ./configure && make + build-ubuntu20-baseline: + docker: + - image: ossrs/srs:dev8 + steps: + - checkout + - run: | + cd trunk && ./configure && make test: docker: - image: ossrs/srs:dev @@ -22,5 +48,9 @@ workflows: version: 2 build_and_test: jobs: - - build-centos7 + - build-centos7-baseline - test + - build-centos7-noasm + - build-centos7-gb28181 + - build-centos8-baseline + - build-ubuntu20-baseline