Commit ffdc1fa50d99c4e4630c5713c2e3cb954cef6622

Authored by Georg Hopp
1 parent 4562e816

Add CI build control

Showing 1 changed file with 29 additions and 0 deletions
  1 +stages:
  2 + - build
  3 + - test
  4 + - deploy
  5 +
  6 +before_script:
  7 + - layman -S
  8 + - emerge --update emerge --ask=n -G n -K n libtrbase
  9 + - ./bootstrap
  10 + - ./configure
  11 +
  12 +build:
  13 + stage: build
  14 + script:
  15 + - make
  16 +
  17 +test:
  18 + stage: test
  19 + script:
  20 + - make test
  21 +
  22 +dist:
  23 + stage: deploy
  24 + only:
  25 + - tags
  26 + script:
  27 + - make dist
  28 + - ssh ci_upload@192.168.20.60 install -d trio/artifacts
  29 + - scp libtrio-*.tar.gz ci_upload@192.168.20.60:~/trio/artifacts
... ...
Please register or login to post a comment