File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,16 +15,16 @@ jobs:
1515 with :
1616 submodules : recursive
1717 - name : Install dependencies
18- run : sudo apt-get install -y libgsl-dev
19- - name : Install HTSLib dependencies
2018 run : |
19+ sudo apt-get update
2120 sudo apt-get install -y \
21+ libgsl-dev \
2222 libcurl4-gnutls-dev \
2323 libdeflate-dev \
2424 liblzma-dev \
2525 zlib1g-dev \
2626 libbz2-dev
27- - name : Build htslib
27+ - name : Build and install htslib (for recent version)
2828 run : |
2929 git clone --recursive https://github.com/samtools/htslib.git
3030 cd htslib
@@ -45,16 +45,16 @@ jobs:
4545 with :
4646 submodules : recursive
4747 - name : Install dependencies
48- run : sudo apt-get install -y libgsl-dev
49- - name : Install HTSLib dependencies
5048 run : |
49+ sudo apt-get update
5150 sudo apt-get install -y \
51+ libgsl-dev \
5252 libcurl4-gnutls-dev \
5353 libdeflate-dev \
5454 liblzma-dev \
5555 zlib1g-dev \
5656 libbz2-dev
57- - name : Build htslib
57+ - name : Build and install htslib (for recent version)
5858 run : |
5959 git clone --recursive https://github.com/samtools/htslib.git
6060 cd htslib
Original file line number Diff line number Diff line change @@ -14,26 +14,27 @@ jobs:
1414 - uses : actions/checkout@v4
1515 with :
1616 submodules : recursive
17- - name : Get version number
18- id : vn
19- run : |
20- awk '/AC_INIT/ {print "vn="$2}' configure.ac | sed "s/\[//; s/\]//; s/,//" >> "$GITHUB_OUTPUT"
21- env :
22- GH_TOKEN : ${{ github.token }}
23- - name : Update packages
24- run : sudo apt-get update
2517 - name : Install dependencies
26- run : sudo apt-get install -y libhts-dev libgsl-dev samtools
18+ run : |
19+ sudo apt-get update
20+ sudo apt-get install -y \
21+ libgsl-dev \
22+ libcurl4-gnutls-dev \
23+ libdeflate-dev \
24+ liblzma-dev \
25+ zlib1g-dev \
26+ libbz2-dev
27+ - name : Build and install htslib (for recent version)
28+ run : |
29+ git clone --recursive https://github.com/samtools/htslib.git
30+ cd htslib
31+ make -j4
32+ sudo make install prefix=/usr
2733 - name : Generate configure script
2834 run : ./autogen.sh
2935 - name : configure
3036 run : ./configure
3137 - name : Generate the source archive
3238 run : make dist
33- - name : Upload the archive
34- uses : actions/upload-artifact@v4
35- with :
36- name : dnmtools-${{ steps.vn.outputs.vn }}.tar.gz
37- path : dnmtools-${{ steps.vn.outputs.vn }}.tar.gz
3839 - name : make distcheck
3940 run : make -j4 distcheck
You can’t perform that action at this time.
0 commit comments