File: .cirrus.yml

package info (click to toggle)
mmseqs2 18-8cc5c%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,388 kB
  • sloc: cpp: 87,288; ansic: 10,655; sh: 2,919; makefile: 142; perl: 13
file content (52 lines) | stat: -rw-r--r-- 2,143 bytes parent folder | download
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
env:
  CIRRUS_CLONE_SUBMODULES: true

task:
  name: FreeBSD
  freebsd_instance:
    image_family: freebsd-14-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 wget 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 wget 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 -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
    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: |
    export PATH=/opt/cmake-3.31.0/bin/:$PATH
    MMSEQS_NUM_THREADS=4 ./util/regression/run_regression.sh ./build/src/mmseqs SCRATCH SEARCH