Commit b64442c4 authored by zhanxw's avatar zhanxw
Browse files

refine gitlab ci

parent 27b53581
......@@ -11,28 +11,30 @@ before_script:
stages:
- build
- test
- deploy
- buildExtra
jobBuildRelease:
stage: build
script:
- make
- FN=/dist/rvtests-`date +"%Y%m%d"`-`git rev-parse HEAD|cut -c 1-6`-linux64-static.tar.gz; cd .. && tar zvcf ${FN} rvtests/executable/rvtest rvtests/executable/vcf2kinship rvtests/example rvtests/README.md && echo "Output file name is ${FN}"
jobBuildDebug:
stage: build
script:
- make debug
- FN=/dist/rvtests-debug-`date +"%Y%m%d"`-`git rev-parse HEAD|cut -c 1-6`-linux64-static.tar.gz; cd .. && tar zvcf ${FN} rvtests/executable/rvtest rvtests/executable/vcf2kinship rvtests/example rvtests/README.md && echo "Output file name is ${FN}"
jobBuildProfile:
stage: build
script:
- make profile
- FN=/dist/rvtests-profile-`date +"%Y%m%d"`-`git rev-parse HEAD|cut -c 1-6`-linux64-static.tar.gz; cd .. && tar zvcf ${FN} rvtests/executable/rvtest rvtests/executable/vcf2kinship rvtests/example rvtests/README.md && echo "Output file name is ${FN}"
jobTest:
stage: test
script:
- make debug
- (for i in base libVcf regression; do echo "Task = ${i}"; make -C ${i}/test; done)
- (for i in base libVcf regression; do echo "Task = ${i}"; make check -C ${i}/test; done)
jobBuildDebug:
stage: buildExtra
script:
- make debug
- FN=/dist/rvtests-debug-`date +"%Y%m%d"`-`git rev-parse HEAD|cut -c 1-6`-linux64-static.tar.gz; cd .. && tar zvcf ${FN} rvtests/executable/dbg/rvtest rvtests/executable/dbg/vcf2kinship rvtests/example rvtests/README.md && echo "Output file name is ${FN}"
jobBuildProfile:
stage: buildExtra
script:
- make profile
- FN=/dist/rvtests-profile-`date +"%Y%m%d"`-`git rev-parse HEAD|cut -c 1-6`-linux64-static.tar.gz; cd .. && tar zvcf ${FN} rvtests/executable/dbg/rvtest rvtests/executable/dbg/vcf2kinship rvtests/example rvtests/README.md && echo "Output file name is ${FN}"
allow_failure: true
#jobDeploy:
# stage: deploy
# script:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment