Skip to content

Commit 191090b

Browse files
.github/workflows/dnmtools_build_ubuntu.yml: adding checks back
1 parent 5645454 commit 191090b

1 file changed

Lines changed: 27 additions & 13 deletions

File tree

.github/workflows/dnmtools_build_ubuntu.yml

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,18 @@ jobs:
1717
- name: Install dependencies
1818
run: sudo apt-get install -y libgsl-dev
1919
- name: Install HTSLib dependencies
20-
run: sudo apt-get install -y libcurl4-gnutls-dev libdeflate-dev liblzma-dev zlib1g-dev libbz2-dev
20+
run: |
21+
sudo apt-get install -y \
22+
libcurl4-gnutls-dev \
23+
libdeflate-dev \
24+
liblzma-dev \
25+
zlib1g-dev \
26+
libbz2-dev
2127
- name: Build htslib
2228
run: |
23-
git clone --recursive https://github.com/samtools/htslib.git && \
24-
cd htslib && \
25-
make -j4 && \
29+
git clone --recursive https://github.com/samtools/htslib.git
30+
cd htslib
31+
make -j4
2632
sudo make install prefix=/usr
2733
- name: Generate configure script
2834
run: ./autogen.sh
@@ -31,26 +37,34 @@ jobs:
3137
- name: Build with g++
3238
run: make -j4
3339
- name: Test the g++ build
34-
run: |
35-
ldd dnmtools
36-
sudo find / -name libhts.so\*
37-
sudo find / -name libhts.a
38-
./dnmtools
40+
run: make -j4 check
3941
build-with-clang:
4042
runs-on: ubuntu-latest
4143
steps:
4244
- uses: actions/checkout@v4
4345
with:
4446
submodules: recursive
4547
- name: Install dependencies
46-
run: sudo apt-get install -y libhts-dev libgsl-dev
48+
run: sudo apt-get install -y libgsl-dev
49+
- name: Install HTSLib dependencies
50+
run: |
51+
sudo apt-get install -y \
52+
libcurl4-gnutls-dev \
53+
libdeflate-dev \
54+
liblzma-dev \
55+
zlib1g-dev \
56+
libbz2-dev
57+
- name: Build htslib
58+
run: |
59+
git clone --recursive https://github.com/samtools/htslib.git
60+
cd htslib
61+
make -j4
62+
sudo make install prefix=/usr
4763
- name: Generate configure script
4864
run: ./autogen.sh
4965
- name: Configure for Clang
5066
run: ./configure CXX="clang++"
5167
- name: Build with clang++
5268
run: make -j4
5369
- name: Test the clang++ build
54-
run: |
55-
ldd dnmtools
56-
./dnmtools
70+
run: make -j4 check

0 commit comments

Comments
 (0)