Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/dnmtools_release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
env:
SCRIPT: |
export DEBIAN_FRONTEND=noninteractive && \
apt-get update && apt-get install --no-install-recommends -y automake && \
apt-get update && apt-get install --no-install-recommends -y automake libgsl-dev && \
find /usr -name libz.so -exec rm {} \; && \
find /usr -name libgsl\*.so -exec rm {} \; && \
git clone --recursive https://github.com/samtools/htslib.git && \
cd htslib && \
autoreconf -i && \
Expand All @@ -35,7 +36,7 @@ jobs:
--disable-lzma \
--disable-ref-cache \
LDADD="-L/usr/local/lib" && \
make CFLAGS="-Wall -O2 -fvisibility=hidden" libhts.a && \
make -j4 CFLAGS="-Wall -O2 -fvisibility=hidden" libhts.a && \
cp libhts.a /usr/local/lib/ && \
cp -r ../htslib /usr/local/include/ && \
cd /workspace && \
Expand All @@ -48,7 +49,7 @@ jobs:
- name: Get version number
id: get-vn
run: |
awk '/AC_INIT/ {print "vn="$2}' configure.ac | sed -e "s/\[//; s/\]//; s/,//" >> "$GITHUB_OUTPUT"
awk '/AC_INIT/ {print "vn="$2}' configure.ac | sed "s/\[//; s/\]//; s/,//" >> "$GITHUB_OUTPUT"
env:
GH_TOKEN: ${{ github.token }}
- name: Upload the binary
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dnmtools_release_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
--disable-ref-cache \
--without-libdeflate \
LDADD="-L/usr/local/lib"
make CFLAGS="-Wall -O2 -fvisibility=hidden" libhts.a
make -j4 CFLAGS="-Wall -O2 -fvisibility=hidden" libhts.a
sudo cp libhts.a /opt/dnmtools/lib
- name: Build dnmtools
run: |
Expand Down