https://gitlab.inria.fr/cado-nfs/cado-nfs
Revision 424a304e82726b0ae54994c9ef081067f3da6554 authored by Emmanuel Thomé on 26 January 2021, 15:21:51 UTC, committed by Emmanuel Thomé on 27 January 2021, 20:59:11 UTC
1 parent 2b71ce3
Raw File
Tip revision: 424a304e82726b0ae54994c9ef081067f3da6554 authored by Emmanuel Thomé on 26 January 2021, 15:21:51 UTC
fix c++ bug revealed by clang11
Tip revision: 424a304
.gitlab-ci.yml
# cf .docker-script.sh

image: gcc

build:
  stage: test
  before_script:
    - id -a
    - echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
    - echo -e "section_start:`date +%s`:install_packages\r\e[0KInstalling required packages"
    - env DEBIAN_FRONTEND=noninteractive apt-get -y update
    - env DEBIAN_FRONTEND=noninteractive apt-get -y install bc locales cmake libhwloc-dev
    - echo -e "section_end:`date +%s`:install_packages\r\e[0K"
  script:
    - echo -e "section_start:`date +%s`:configuration\r\e[0KConfiguring"
    - make cmake
    - echo -e "section_end:`date +%s`:configuration\r\e[0K"
    - echo -e "section_start:`date +%s`:build\r\e[0KBuilding"
    - make -j4
    - echo -e "section_end:`date +%s`:build\r\e[0K"
    - echo -e "section_start:`date +%s`:build2\r\e[0KBuilding test dependencies"
    - make -j4 all_test_dependencies
    - echo -e "section_end:`date +%s`:build2\r\e[0K"
    - echo -e "section_start:`date +%s`:test\r\e[0KRunning tests"
    - env OMP_DYNAMIC=true STATS_PARSING_ERRORS_ARE_FATAL=1 make check ARGS="-j4"
    - echo -e "section_end:`date +%s`:test\r\e[0K"
    # okay. "cache" is only when the runners have a notion of available
    # cache server, it seems. Don't do that for now.
    # cache:
    # # paths:
    # - "*.o"
back to top