Showing
1 changed file
with
29 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
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