Browse Source

Add CI build control

1.0.0
Georg Hopp 10 years ago
parent
commit
ffdc1fa50d
  1. 29
      .gitlab-ci.yml

29
.gitlab-ci.yml

@ -0,0 +1,29 @@
stages:
- build
- test
- deploy
before_script:
- layman -S
- emerge --update emerge --ask=n -G n -K n libtrbase
- ./bootstrap
- ./configure
build:
stage: build
script:
- make
test:
stage: test
script:
- make test
dist:
stage: deploy
only:
- tags
script:
- make dist
- ssh ci_upload@192.168.20.60 install -d trio/artifacts
- scp libtrio-*.tar.gz ci_upload@192.168.20.60:~/trio/artifacts
Loading…
Cancel
Save