Skip to content

Commit 32f5948

Browse files
committed
github actions
1 parent 253f818 commit 32f5948

2 files changed

Lines changed: 33 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,46 @@ jobs:
88

99
runs-on: ubuntu-latest
1010

11+
defaults:
12+
run:
13+
# The default for anything that doesn't override it (eg htslib)
14+
working-directory: ./iolib
15+
1116
steps:
12-
- uses: actions/checkout@v2
17+
- name: io_lib checkout
18+
uses: actions/checkout@v6
19+
with:
20+
path: iolib
21+
1322
- name: deps
23+
working-directory: .
1424
run: |
1525
sudo apt-get update
16-
sudo apt-get install -y --no-install-suggests --no-install-recommends zlib1g-dev libhts-dev libdeflate-dev
26+
sudo apt-get install -y --no-install-suggests --no-install-recommends zlib1g-dev libdeflate-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev
27+
28+
- name: htslib checkout
29+
uses: actions/checkout@v6
30+
with:
31+
repository: samtools/htslib
32+
ref: master
33+
submodules: true
34+
path: hidden-htslib
35+
36+
- name: htslib build
37+
working-directory: hidden-htslib
38+
run: |
39+
autoreconf -i && ./configure --prefix=/usr && make -j5
40+
sudo make install
41+
1742
- name: configure
1843
run: ./bootstrap; ./configure; # CC="gcc -fsanitize=address"
44+
1945
- name: make
20-
run: make
46+
run: make -j5
47+
2148
- name: make check
2249
run: make check
50+
2351
#- name: make distcheck
2452
# run: make distcheck
2553

@@ -28,14 +56,14 @@ jobs:
2856
runs-on: macos-latest
2957

3058
steps:
31-
- uses: actions/checkout@v2
59+
- uses: actions/checkout@v6
3260
- name: Update Homebrew packages
3361
run: |
3462
brew update --auto-update
3563
brew install --overwrite autoconf automake libtool htslib libdeflate
3664
- name: configure
3765
run: ./bootstrap; ./configure CPPFLAGS=-I/opt/homebrew/include --with-htslib=/opt/homebrew
3866
- name: make
39-
run: make
67+
run: make -j5
4068
- name: make check
4169
run: make check

htscodecs

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)