.gitlab-ci.yml 658 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
# This file is a template, and might need editing before it works on your project.
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options

# you can delete this line if you're not using Docker
image: debian

before_script:
  - apt-get update --yes

build:
  stage: build
  script:
13
    - apt-get install --yes make gcc g++ clang git
14 15
    - CC=gcc CXX=g++ ./run-tests.sh
    - CC=clang CXX=clang++ ./run-tests.sh
16 17 18 19 20

pages:
  stage: build
  script:
    - mkdir .public
21
    - cp -r *.html *.css *.png .public
22 23 24 25 26 27 28
    - mv .public/README.html .public/index.html
    - mv .public public
  artifacts:
    paths:
      - public
  only:
    - master