-
Notifications
You must be signed in to change notification settings - Fork 297
Expand file tree
/
Copy path.cirrus.yml
More file actions
61 lines (58 loc) · 2.53 KB
/
Copy path.cirrus.yml
File metadata and controls
61 lines (58 loc) · 2.53 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
env:
CIRRUS_CLONE_SUBMODULES: true
task:
name: FreeBSD
freebsd_instance:
image_family: freebsd-14-2-snap
install_script: |
# pkg update -f
pkg install -y cmake git samtools rust
export PATH=/usr/local/bin:$PATH
compile_script: |
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DHAVE_TESTS=1 -DENABLE_WERROR=1 -DHAVE_SSE4_1=1 -DRust_COMPILER=/usr/local/bin/rustc ..
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 -y --no-install-suggests --no-install-recommends wget clang-4.0 libc++-dev make git ca-certificates curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
export PATH=/root/.cargo/bin:$PATH
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 -y --no-install-suggests --no-install-recommends wget gcc-4.9 g++-4.9 make git ca-certificates curl
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
export PATH=/root/.cargo/bin:$PATH
env:
CC: gcc-4.9
CXX: g++-4.9
compile_script: |
mkdir -p /opt/cmake-3.31.0
wget https://cmake.org/files/v3.31/cmake-3.31.0-linux-x86_64.sh
chmod +x cmake-3.31.0-linux-x86_64.sh
./cmake-3.31.0-linux-x86_64.sh --skip-license --prefix=/opt/cmake-3.31.0
export PATH=/opt/cmake-3.31.0/bin/:$PATH
export PATH=/root/.cargo/bin:$PATH
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release -DHAVE_TESTS=1 -DENABLE_WERROR=0 -DHAVE_SSE4_1=1 -DREQUIRE_OPENMP=0 -DRust_COMPILER=/root/.cargo/bin/rustc ..
make -j $(nproc --all)
test_script: |
export PATH=/opt/cmake-3.31.0/bin/:$PATH
export PATH=/root/.cargo/bin:$PATH
MMSEQS_NUM_THREADS=4 ./util/regression/run_regression.sh ./build/src/mmseqs SCRATCH SEARCH