Commit 1867f810 authored by Mathieu Valois's avatar Mathieu Valois
Browse files

simple gitlab-ci

parent 1037bda1
Loading
Loading
Loading
Loading
+3 −25
Changes for .gitlab-ci.yml: 3 added lines, 25 removed lines.
Original line number Diff line number Diff line
image: ubuntu
build-cli:
image: ubuntu/18.04
before_script:
    - export http_proxy=http://10.14.128.99:3128
    - export https_proxy=http://10.14.128.99:3128
    - apt-get -qq update
    - apt-get -qq -y install build-essential > /dev/null
  - apt-get -qq update && apt-get -qq -y install build-essential > /dev/null
build:
  script: make -C Statsgen -j2
  artifacts:
    paths:
      - Statsgen/cstatsgen
build-gui:
  before_script:
    - export http_proxy=http://10.14.128.99:3128
    - export https_proxy=http://10.14.128.99:3128
    - apt-get -qq update
    - apt-get -qq -y install build-essential software-properties-common > /dev/null
    - add-apt-repository -y ppa:beineri/opt-qt-5.10.1-xenial
    - apt-get -qq update
    - apt-get -qq -y install qt5-default qt510charts-no-lgpl > /dev/null
    - head -n -5 /opt/qt510/bin/qt510-env.sh > qt510-env.sh
    - mv qt510-env.sh /opt/qt510/bin/qt510-env.sh
    - source /opt/qt510/bin/qt510-env.sh
  script:
    - cd GUI
    - qmake GUI.pro -o makefile
    - make -j$(nproc)
  artifacts:
    paths:
      - GUI/GUI