Skip to content

Commit bd133ac

Browse files
committed
Release 1.12
2 parents a7a90fe + 7186959 commit bd133ac

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+9241
-4438
lines changed

.appveyor.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ skip_tags: true
1818
# - docs/*
1919
# - '**/*.html'
2020

21+
# Appveyor Windows images are based on Visual studio version
22+
image: Visual Studio 2019
23+
2124
# We use Mingw/Msys, so use pacman for installs
2225
install:
2326
- set HOME=.
@@ -30,7 +33,8 @@ build_script:
3033
- set HOME=.
3134
- set MSYSTEM=MINGW64
3235
- set PATH=C:/msys64/usr/bin;C:/msys64/mingw64/bin;%PATH%
33-
- "sh -lc \"autoheader && autoconf && ./configure --enable-werror CFLAGS='-g -O3' && make -j2\""
36+
- git submodule update --init --recursive
37+
- "sh -lc \"autoreconf -i && ./configure --enable-werror CFLAGS='-g -O3' && make -j2\""
3438

3539
#build_script:
3640
# - make

.cirrus.yml

+167
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
# Note we have a maximum of 16 CPUs available, so adjust our
2+
# builds so we can start all concurrently without needing to schedule.
3+
4+
# Sadly though there is still a finite limit to macOS of one instance.
5+
# Can we cull our Mac test to just one instance?
6+
7+
timeout_in: 20m
8+
9+
#--------------------------------------------------
10+
# Template: build libdeflate dependency
11+
12+
libdeflate_template: &LIBDEFLATE
13+
libdeflate_script: |
14+
if test "x$USE_LIBDEFLATE" == "xyes"; then
15+
pushd "$HOME"
16+
git clone --depth 1 https://github.com/ebiggers/libdeflate.git
17+
pushd libdeflate
18+
make -j 4 CFLAGS='-fPIC -O3' libdeflate.a
19+
popd
20+
popd
21+
fi
22+
23+
#--------------------------------------------------
24+
# Template: compile and test
25+
26+
compile_template: &COMPILE
27+
compile_script: |
28+
git submodule update --init --recursive
29+
if test "x$USE_LIBDEFLATE" = "xyes"; then
30+
CONFIG_OPTS='CPPFLAGS="-I$HOME/libdeflate" LDFLAGS="$LDFLAGS -L$HOME/libdeflate" --with-libdeflate'
31+
else
32+
CONFIG_OPTS='--without-libdeflate'
33+
fi
34+
if test "$USE_CONFIG" = "yes"; then
35+
MAKE_OPTS=
36+
autoreconf -i
37+
eval ./configure --enable-plugins --enable-werror $CONFIG_OPTS CFLAGS=\"-g -O3 $CFLAGS\" || \
38+
( cat config.log; false )
39+
else
40+
MAKE_OPTS=-e
41+
fi
42+
if test "x$DO_MAINTAINER_CHECKS" = "xyes"; then
43+
make maintainer-check
44+
fi
45+
make -j 4 $MAKE_OPTS
46+
47+
test_template: &TEST
48+
test_script: |
49+
make test-shlib-exports
50+
make test
51+
52+
53+
#--------------------------------------------------
54+
# Task: linux builds.
55+
56+
# Debian + latest GCC
57+
gcc_task:
58+
name: debian-gcc
59+
container:
60+
image: gcc:latest
61+
cpu: 2
62+
memory: 1G
63+
64+
environment:
65+
LC_ALL: C
66+
CIRRUS_CLONE_DEPTH: 1
67+
68+
matrix:
69+
- environment:
70+
DO_MAINTAINER_CHECKS: yes
71+
USE_CONFIG: no
72+
- environment:
73+
USE_CONFIG: yes
74+
CFLAGS: -std=c99 -pedantic
75+
USE_LIBDEFLATE: yes
76+
77+
<< : *LIBDEFLATE
78+
<< : *COMPILE
79+
<< : *TEST
80+
81+
82+
# Ubuntu + Clang
83+
ubuntu_task:
84+
name: ubuntu-clang
85+
container:
86+
#image: ubuntu:latest # use << : *LIBDEFLATE
87+
image: ubuntu:devel
88+
cpu: 2
89+
memory: 1G
90+
91+
environment:
92+
CC: clang
93+
LC_ALL: C
94+
CIRRUS_CLONE_DEPTH: 1
95+
96+
matrix:
97+
- environment:
98+
USE_CONFIG: yes
99+
- environment:
100+
USE_CONFIG: yes
101+
CFLAGS: -g -Wall -O3 -fsanitize=address
102+
LDFLAGS: -fsanitize=address
103+
USE_LIBDEFLATE: yes
104+
105+
# NB: we could consider building a docker image with these
106+
# preinstalled and specifying that instead, to speed up testing.
107+
install_script: |
108+
apt-get update
109+
apt-get install -y --no-install-suggests --no-install-recommends \
110+
ca-certificates clang libc-dev make git autoconf automake \
111+
zlib1g-dev libbz2-dev liblzma-dev libcurl4-gnutls-dev libssl-dev \
112+
libdeflate-dev
113+
114+
<< : *COMPILE
115+
<< : *TEST
116+
117+
118+
# CentOS
119+
centos_task:
120+
name: centos-gcc
121+
container:
122+
image: centos:latest
123+
cpu: 2
124+
memory: 1G
125+
126+
environment:
127+
LC_ALL: C
128+
CIRRUS_CLONE_DEPTH: 1
129+
USE_CONFIG: yes
130+
131+
# NB: we could consider building a docker image with these
132+
# preinstalled and specifying that instead, to speed up testing.
133+
install_script: |
134+
yum install -y autoconf automake make gcc perl-Data-Dumper zlib-devel \
135+
bzip2 bzip2-devel xz-devel curl-devel openssl-devel ncurses-devel \
136+
diffutils git
137+
138+
<< : *COMPILE
139+
<< : *TEST
140+
141+
#--------------------------------------------------
142+
# Task: macOS builds
143+
144+
macosx_task:
145+
name: macosx + clang
146+
osx_instance:
147+
image: catalina-base
148+
149+
environment:
150+
CC: clang
151+
LC_ALL: C
152+
CIRRUS_CLONE_DEPTH: 1
153+
154+
matrix:
155+
- environment:
156+
USE_CONFIG: no
157+
- environment:
158+
USE_CONFIG: yes
159+
USE_LIBDEFLATE: yes
160+
161+
package_install_script:
162+
- HOMEBREW_NO_AUTO_UPDATE=1 brew install autoconf automake libtool xz git
163+
164+
<< : *LIBDEFLATE
165+
<< : *COMPILE
166+
<< : *TEST
167+

.gitattributes

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@
99
# Omit these files from release tarballs.
1010
/.appveyor.yml export-ignore
1111
.git* export-ignore
12-
/.travis.yml export-ignore
12+
/.cirrus.yml export-ignore
1313
README.md export-ignore
1414

1515
# Remove the text attribute from reference files, so that git doesn't convert
1616
# line separators on Windows machines. It causes the index files to become out
1717
# of sync with the fasta files.
1818
*.fa* -text
19+
20+
# Remove the text attribute from index_dos.sam, so that the line separators
21+
# for the test file don't get converted into Unix format.
22+
test/index_dos.sam -text

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@
77
*.dll.a
88
*.pc.tmp
99
*-uninstalled.pc
10+
config_vars.h
1011
/version.h
1112

1213
autom4te.cache
1314
config.cache
15+
config.guess
1416
config.h
1517
config.h.in
1618
config.log
1719
config.mk
1820
config.status
21+
config.sub
1922
configure
23+
install-sh
2024

2125
hfile_*.bundle
2226
hfile_*.cygdll
@@ -25,6 +29,7 @@ hfile_*.so
2529

2630
hts-object-files
2731
htslib_static.mk
32+
htscodecs.mk
2833

2934
cyg*.dll
3035
lib*.a
@@ -51,7 +56,9 @@ shlib-exports-*.txt
5156
/test/test-bcf-sr
5257
/test/test-bcf-translate
5358
/test/test_bgzf
59+
/test/test_expr
5460
/test/test_index
61+
/test/test_introspection
5562
/test/test_kfunc
5663
/test/test_kstring
5764
/test/test-parse-reg

.gitmodules

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "htscodecs"]
2+
path = htscodecs
3+
url = https://github.com/samtools/htscodecs.git
4+
fetchRecurseSubmodules = true

.travis.yml

-108
This file was deleted.

0 commit comments

Comments
 (0)