1- version : 2.0
1+ version : 2.1
2+ orbs :
3+ coveralls : coveralls/coveralls@2.2.5
4+
25jobs :
3- " 14.04 " :
6+ v1804 :
47 docker :
5- - image : circleci/buildpack-deps:14 .04
8+ - image : cimg/base:2022.08-18 .04
69 working_directory : /home/circleci/DEploid
710 steps :
811 - checkout
@@ -16,35 +19,35 @@ jobs:
1619 - run :
1720 name : Install dependencies and set path
1821 command : |
19- sudo apt-get update
20- curl -fsSL https://git.io/vHGMF | bash
21- sudo apt-get install libcppunit-dev
22- sudo apt-get install valgrind
22+ sudo apt-get update
23+ curl -fsSL https://git.io/vHGMF | bash
24+ sudo apt-get install libcppunit-dev
25+ sudo apt-get install valgrind
2326 - run :
24- name : Getting ready
25- command : |
27+ name : Getting ready
28+ command : |
2629 g++ --version
2730 ./bootstrap
2831 - run :
29- name : Compile
30- command : |
32+ name : Compile
33+ command : |
3134 make
3235 sudo make install
3336 make check
3437 - run :
35- name : Run tests
36- command : |
38+ name : Run tests
39+ command : |
3740 ./tests/test_binary.sh
3841 ./tests/testPOS.sh
3942 ./tests/test_binaryVcfVsTxt.sh
4043 ./tests/test-against-previous-version.sh
4144 ./tests/test_binaryReproducible.sh
4245 # - valgrind --leak-check=full -v --show-leak-kinds=all ./unit_tests
43- # - coveralls --exclude lib --exclude tests --exclude src/random --exclude src/codeCogs/ --exclude src/export/ --gcov-options '\-lp'
46+ # - coveralls --exclude lib --exclude tests --exclude src/random --exclude src/codeCogs/ --exclude src/export/ --gcov-options '\-lp'
4447
45- " 16.04 " :
48+ v2004 :
4649 docker :
47- - image : circleci/buildpack-deps:16 .04
50+ - image : cimg/base:2022.08 # stable-20 .04
4851 working_directory : /home/circleci/DEploid
4952 steps :
5053 - checkout
@@ -58,33 +61,33 @@ jobs:
5861 - run :
5962 name : Install dependencies and set path
6063 command : |
61- sudo apt-get update
62- curl -fsSL https://git.io/vHGMF | bash
63- sudo apt-get install libcppunit-dev
64- sudo apt-get install valgrind
64+ sudo apt-get update
65+ curl -fsSL https://git.io/vHGMF | bash
66+ sudo apt-get install libcppunit-dev
67+ sudo apt-get install valgrind
6568 - run :
66- name : Getting ready
67- command : |
69+ name : Getting ready
70+ command : |
6871 g++ --version
6972 ./bootstrap
7073 - run :
71- name : Compile
72- command : |
74+ name : Compile
75+ command : |
7376 make
7477 sudo make install
7578 make check
7679 - run :
77- name : Run tests
78- command : |
80+ name : Run tests
81+ command : |
7982 ./tests/test_binary.sh
8083 ./tests/testPOS.sh
8184 ./tests/test_binaryVcfVsTxt.sh
8285 ./tests/test-against-previous-version.sh
8386 ./tests/test_binaryReproducible.sh
8487
85- " 20.04 " :
88+ v2204 :
8689 docker :
87- - image : circleci/buildpack-deps:20.04
90+ - image : cimg/base:2024.12
8891 working_directory : /home/circleci/DEploid
8992 steps :
9093 - checkout
@@ -98,35 +101,38 @@ jobs:
98101 - run :
99102 name : Install dependencies and set path
100103 command : |
101- sudo apt-get update
102- curl -fsSL https://git.io/vHGMF | bash
103- sudo apt-get install libcppunit-dev
104- sudo apt-get install valgrind
104+ sudo apt-get update
105+ curl -fsSL https://git.io/vHGMF | bash
106+ sudo apt-get install libcppunit-dev automake
107+ sudo apt-get install valgrind lcov
105108 - run :
106- name : Getting ready
107- command : |
109+ name : Getting ready
110+ command : |
108111 g++ --version
109112 ./bootstrap
110113 - run :
111- name : Compile
112- command : |
114+ name : Compile
115+ command : |
113116 make
114117 sudo make install
115118 make check
116119 - run :
117- name : Run tests
118- command : |
119- ./tests/test_binary.sh
120- ./tests/testPOS.sh
121- ./tests/test_binaryVcfVsTxt.sh
122- ./tests/test-against-previous-version.sh
123- ./tests/test_binaryReproducible.sh
124-
120+ name : Run tests
121+ command : |
122+ # ./tests/test_binary.sh
123+ # ./tests/testPOS.sh
124+ # ./tests/test_binaryVcfVsTxt.sh
125+ # ./tests/test-against-previous-version.sh
126+ # ./tests/test_binaryReproducible.sh
127+ # valgrind --leak-check=full -v --show-leak-kinds=all ./unit_tests_1
128+ # coveralls --exclude lib --exclude tests --exclude src/random --exclude src/codeCogs/ --exclude src/export/ --gcov-options '\-lp'
129+ ./tests/test-coverage-coverall.sh
130+ - coveralls/upload
125131
126132workflows :
127- version : 2
128- build :
133+ myworkflow :
129134 jobs :
130- - " 20.04"
131- # - "14.04"
132- # - "16.04"
135+ - v2204
136+ - v2004
137+ # - v1804 # this is too old, bash_complete not available
138+
0 commit comments