-
Notifications
You must be signed in to change notification settings - Fork 42
/
.gitlab-ci.yml
49 lines (48 loc) · 1.92 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
before_script:
- export http_proxy=http://proxy.swmed.edu:3128
- export https_proxy=http://proxy.swmed.edu:3128
- export ftp_proxy=http://proxy.swmed.edu:3128
- export no_proxy="127.0.0.1,localhost"
- uname -a
- free -m
- df -h
- ulimit -a
stages:
- build
- test
- buildExtra
jobBuildRelease:
image: zhanxw/rvtests-docker:latest
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}"
jobTest:
image: zhanxw/rvtests-docker:dev
stage: test
script:
- make debug
- (for i in base libVcf regression libBgen; do echo "Task = ${i}"; make -C ${i}/test; done)
- (for i in base libVcf regression libBgen; do echo "Task = ${i}"; make check -C ${i}/test; done)
jobBuildDebug:
image: zhanxw/rvtests-docker:dev-ubuntu
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:
image: zhanxw/rvtests-docker:dev-ubuntu
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:
# - echo "Packing RVTESTS"
# - make
# environment:
# name: staging
# url: http:staging-rvtests.bunny.swmed.edu
# when: "manual"