Skip to content

Commit 785ab94

Browse files
.github/workflows/dnmtools_release_linux.yml: adding forgotten gsl dependency and using threads to build htslib
1 parent 508dcaf commit 785ab94

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/dnmtools_release_linux.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ jobs:
2323
env:
2424
SCRIPT: |
2525
export DEBIAN_FRONTEND=noninteractive && \
26-
apt-get update && apt-get install --no-install-recommends -y automake && \
26+
apt-get update && apt-get install --no-install-recommends -y automake libgsl-dev && \
2727
find /usr -name libz.so -exec rm {} \; && \
28+
find /usr -name libgsl\*.so -exec rm {} \; && \
2829
git clone --recursive https://github.com/samtools/htslib.git && \
2930
cd htslib && \
3031
autoreconf -i && \
@@ -35,7 +36,7 @@ jobs:
3536
--disable-lzma \
3637
--disable-ref-cache \
3738
LDADD="-L/usr/local/lib" && \
38-
make CFLAGS="-Wall -O2 -fvisibility=hidden" libhts.a && \
39+
make -j4 CFLAGS="-Wall -O2 -fvisibility=hidden" libhts.a && \
3940
cp libhts.a /usr/local/lib/ && \
4041
cp -r ../htslib /usr/local/include/ && \
4142
cd /workspace && \
@@ -48,7 +49,7 @@ jobs:
4849
- name: Get version number
4950
id: get-vn
5051
run: |
51-
awk '/AC_INIT/ {print "vn="$2}' configure.ac | sed -e "s/\[//; s/\]//; s/,//" >> "$GITHUB_OUTPUT"
52+
awk '/AC_INIT/ {print "vn="$2}' configure.ac | sed "s/\[//; s/\]//; s/,//" >> "$GITHUB_OUTPUT"
5253
env:
5354
GH_TOKEN: ${{ github.token }}
5455
- name: Upload the binary

0 commit comments

Comments
 (0)