From 71b7d4f67963f806e8cf51a63173a53fbe8895fb Mon Sep 17 00:00:00 2001 From: terminaldweller Date: Wed, 29 Sep 2021 17:33:38 +0330 Subject: removed coverity from travis --- .travis.yml | 61 -------------------------------------------------- docker/arch/Dockerfile | 15 +++++++++++++ 2 files changed, 15 insertions(+), 61 deletions(-) create mode 100644 docker/arch/Dockerfile diff --git a/.travis.yml b/.travis.yml index afb7910..0a8c68c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,67 +1,6 @@ -env: - global: - secure: "RryB41K5qM9ugu1GNOQACICR1Q/04XKCfAmHmRsx+mHrZOSc1WwufGgQt424wTiuF8v/nd0FLDi5wKVALEPAquhGoiMSWl9b2h+XwDSvn3IcA0JtjYdoSH0gKHSxhhXUahErvI9lcevHxYNBldxxJC7Oy4z6yxxzJVn6snCgQIzR3gefkcwkKu8eTHZrjJXbuLjSft6UAK1w4FvOLJp+HxO/SzWxQZkelWB+vhaC7ukLw31O8fo7HujQdPO4wP6WdMRuryKBqpptuUlyNMP33B1tbrg4hPgUjqeTOMQCYtVHHb6HcUTAcZtA5D5UDIbP1568xpgjiwCUVY324HFLBT/2MflEpZKTTZY6rWRWsED3qm6XLliFbIqpqatetWwaIoml7hbCDl+kc1cyjpl840zsFSA9w+Slo8R8ppmE6VVwbEXBR2wB0A7ZIi4ua7Vq/nIjhpb1LgFjzkwESTAQCYD7s+8Tl2hehFjWU+DE5ubEQtUV4jodQZdRy2MXepb5bKDwdTkawWeMP4BWBoeBQpB2gcDklJevHWv8lKgn+esFa+l84eJP8ikckpw6m3DQfe4P6k6r8qRuTCIZTNCAm9yrtLwvW0dBM/o0XAxIQjWUT1XX0dF+1HMgXLmavl/bK360IMWtnm2ZISoUmALRNY3nLu7Sp4AHNlIU6JLKT2A=" - -addons: - coverity_scan: - project: - name: "bloodstalker/cgrep" - description: cgrep - notification_email: thabogre@gmail.com - build_command_prepend: - - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - - sudo apt-get update -y - - sudo apt-get install libstdc++-7-dev -y - - wget https://apt.llvm.org/llvm.sh - - chmod +x llvm.sh - - sudo ./llvm.sh 9 - - sudo apt-get install llvm-9-dev libclang-common-9-dev libclang-9-dev libboost-system-dev libboost-filesystem-dev -y - - git submodule init - - git submodule update - build_command: - - make CXX=clang-9 LLVM_CONF=llvm-config-9 - branch_pattern: master - matrix: fast_finish: true include: - # - dist: trusty - # name: llvm5 - # sudo: required - # language: cpp - # before_script: - # - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - # - sudo add-apt-repository ppa:fkrull/deadsnakes -y - # - sudo apt-get update -y - # - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add - - # - echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-5.0 main" | sudo tee -a /etc/apt/sources.list - # - sudo apt-get update -qq - # - travis_retry sudo apt-get install clang-5.0 libclang-5.0-dev libclang-common-5.0-dev libllvm5.0 llvm-5.0-dev llvm-5.0 llvm-5.0-runtime -y - # - sudo apt-get install gcc-4.9 g++-4.9 libboost-system-dev libboost-filesystem-dev -y - # - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9 - # - git submodule init - # - git submodule update - # script: - # - make CXX=clang-5.0 LLVM_CONF=llvm-config-5.0 - # after_success: - # - bash run.sh - # - dist: trusty - # name: llvm6 - # sudo: required - # language: cpp - # before_script: - # - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - # - sudo apt-get update -y - # - wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key|sudo apt-key add - - # - echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main" | sudo tee -a /etc/apt/sources.list - # - sudo apt-get update -qq - # - travis_retry sudo apt-get install clang-6.0 libclang-6.0-dev libclang-common-6.0-dev libllvm6.0 llvm-6.0-dev llvm-6.0 llvm-6.0-runtime -y - # - git submodule init - # - git submodule update - # script: - # - make CXX=clang-6.0 LLVM_CONF=llvm-config-6.0 - # after_success: - # - ./run.sh - dist: bionic name: llvm7 sudo: required diff --git a/docker/arch/Dockerfile b/docker/arch/Dockerfile new file mode 100644 index 0000000..27f7b99 --- /dev/null +++ b/docker/arch/Dockerfile @@ -0,0 +1,15 @@ +FROM archlinux:base-devel-20210725.0.29770 + +RUN pacman -Syu --noconfirm +RUN pacman -S --noconfirm wget cmake git gnupg llvm-libs llvm openmp clang + +RUN git clone https://github.com/bloodstalker/cgrep \ + && cd cgrep \ + && git submodule init \ + && git submodule update \ + && mkdir build \ + && cd build \ + && cmake ../ -DLLVM_CONF=llvm-config -DCMAKE_CXX_COMPILER=clang++ -DUSE_MONOLITH_LIBTOOLING=ON\ + && make + +RUN pacman -Scc -- cgit v1.2.3