https://gitlab.inria.fr/cado-nfs/cado-nfs
Revision d12d603036b334b53d6e886cfa985a082e981860 authored by Emmanuel Thomé on 29 January 2021, 06:20:31 UTC, committed by Emmanuel Thomé on 29 January 2021, 21:39:17 UTC
1 parent 590bfe4
Raw File
Tip revision: d12d603036b334b53d6e886cfa985a082e981860 authored by Emmanuel Thomé on 29 January 2021, 06:20:31 UTC
fix u64_random on 32-bit
Tip revision: d12d603
.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