File tree Expand file tree Collapse file tree 4 files changed +18
-5
lines changed
Expand file tree Collapse file tree 4 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ stages:
2222 command :
2323 - ' apt-get update '
2424 - ' apt-get install -y build-essential curl cmake openssl libssl-dev git '
25- - ' git submodule update --init --recursive --depth=1 '
25+ - ' git clone https://gitee.com/chenxuan520/cpptest src/third_party/cpptest '
2626 - ' cd src '
2727 - ./release.sh
2828 - ' cp ./cppnet.tar.gz ../cppnet-ubuntu-release.tar.gz '
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ stages:
2222 command :
2323 - apt-get update
2424 - apt-get install -y build-essential curl cmake openssl libssl-dev git
25- - git submodule update --init --recursive --depth=1
25+ - git clone https://gitee.com/chenxuan520/cpptest src/third_party/cpptest
2626 - cd src
2727 - ./build.sh
2828 - ./bin/test_bin
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- git clone https://gitee.com/chenxuan520/cppjson
4- git clone https://gitee.com/chenxuan520/deeplearning.git
3+ if [ " $GITHUB_ACTIONS " = " true" ]; then
4+ echo " In GitHub CICD environment"
5+ git clone https://github.com/chenxuan520/cppjson
6+ git clone https://github.com/chenxuan520/deeplearning.git
7+ else
8+ echo " Not in GitHub CICD environment"
9+ git clone https://gitee.com/chenxuan520/cppjson
10+ git clone https://gitee.com/chenxuan520/deeplearning.git
11+ fi
512
613# if not exist demo.param
714if [ ! -f " ./demo.param" ]; then
Original file line number Diff line number Diff line change 11#! /bin/bash
2- git clone https://gitee.com/chenxuan520/cppjson
2+ if [ " $GITHUB_ACTIONS " = " true" ]; then
3+ echo " In GitHub CICD environment"
4+ git clone https://github.com/chenxuan520/cppjson
5+ else
6+ echo " Not in GitHub CICD environment"
7+ git clone https://gitee.com/chenxuan520/cppjson
8+ fi
39
410# if not exist ssl dir
511if [ ! -d " ./ssl" ]; then
You can’t perform that action at this time.
0 commit comments