-
Notifications
You must be signed in to change notification settings - Fork 199
/
.cirrus.yml
45 lines (42 loc) · 1.79 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
env:
CIRRUS_CLONE_SUBMODULES: true
task:
name: FreeBSD-13
freebsd_instance:
image_family: freebsd-13-2-snap
install_script: pkg install -y cmake git samtools
compile_script: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DHAVE_TESTS=1 -DENABLE_WERROR=1 -DHAVE_SSE4_1=1 ..
make -j $(sysctl -n hw.ncpu)
test_script: ./util/regression/run_regression.sh ./build/src/mmseqs SCRATCH
task:
name: "Old compilers"
container:
image: debian:jessie-slim
cpu: 4
memory: 8G
matrix:
- name: Clang-4
install_script: |
echo "deb [trusted=yes] http://archive.debian.org/debian jessie main" > /etc/apt/sources.list
echo "deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list
apt-get update --yes --force-yes || true
apt-get install cmake clang-4.0 libc++-dev make git ca-certificates --yes --force-yes --no-install-suggests --no-install-recommends
env:
CC: clang-4.0
CXX: clang++-4.0
- name: GCC-4.9
install_script: |
echo "deb [trusted=yes] http://archive.debian.org/debian jessie main" > /etc/apt/sources.list
echo "deb [trusted=yes] http://archive.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list
apt-get update --yes --force-yes || true
apt-get install cmake gcc-4.9 g++-4.9 make git ca-certificates --yes --force-yes --no-install-suggests --no-install-recommends
env:
CC: gcc-4.9
CXX: g++-4.9
compile_script: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DHAVE_TESTS=1 -DENABLE_WERROR=0 -DHAVE_SSE4_1=1 -DREQUIRE_OPENMP=0 ..
make -j $(nproc --all)
test_script: MMSEQS_NUM_THREADS=4 ./util/regression/run_regression.sh ./build/src/mmseqs SCRATCH SEARCH