.gitlab-ci.yml 1.36 KB
Newer Older
1
# tarot implements the rules of the tarot game
Vivien Kraus's avatar
Vivien Kraus committed
2
# Copyright (C) 2017, 2018, 2019, 2020  Vivien Kraus
3
4
5

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation, version 3 of the License.
7
8
9
10
11
12
13
14
15
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

Vivien Kraus's avatar
Vivien Kraus committed
16
17
18
19
20
21
22
23
24
variables:
  APT_CACHE: "$CI_PROJECT_DIR/cache/apt"
  DNF_CACHE: "$CI_PROJECT_DIR/cache/dnf"

cache:
  key: tarot
  paths:
    - cache

Vivien Kraus's avatar
Vivien Kraus committed
25
image: debian
Vivien Kraus's avatar
Deploy!    
Vivien Kraus committed
26

Vivien Kraus's avatar
Vivien Kraus committed
27
28
stages:
  - dist
Vivien Kraus's avatar
Vivien Kraus committed
29
  - check
Vivien Kraus's avatar
Vivien Kraus committed
30
  - manual
Vivien Kraus's avatar
Deploy!    
Vivien Kraus committed
31

Vivien Kraus's avatar
Vivien Kraus committed
32
dist:
Vivien Kraus's avatar
Vivien Kraus committed
33
  stage: dist
Vivien Kraus's avatar
Vivien Kraus committed
34
  script: "./ci/dist.sh"
Vivien Kraus's avatar
Vivien Kraus committed
35
36
  artifacts:
    paths:
Vivien Kraus's avatar
Vivien Kraus committed
37
    - dist
Vivien Kraus's avatar
Vivien Kraus committed
38
39
    expire_in: 1 week

Vivien Kraus's avatar
Vivien Kraus committed
40
41
42
43
check:
  stage: check
  script: "./ci/check.sh"

Vivien Kraus's avatar
Vivien Kraus committed
44
mingw:
Vivien Kraus's avatar
Vivien Kraus committed
45
  image: fedora
Vivien Kraus's avatar
Vivien Kraus committed
46
47
  stage: check
  script: "./ci/mingw.sh"
Vivien Kraus's avatar
Vivien Kraus committed
48
49
50
51
  artifacts:
    paths:
    - public
    expire_in: 1 week
Vivien Kraus's avatar
Vivien Kraus committed
52

Vivien Kraus's avatar
Vivien Kraus committed
53
54
55
56
57
58
59
60
deb:
  stage: check
  script: "./ci/deb.sh"
  artifacts:
    paths:
    - public
    expire_in: 1 week

Vivien Kraus's avatar
Deploy!    
Vivien Kraus committed
61
pages:
Vivien Kraus's avatar
Vivien Kraus committed
62
  image: tarotbis/pages
Vivien Kraus's avatar
Vivien Kraus committed
63
  stage: manual
Vivien Kraus's avatar
Vivien Kraus committed
64
  script: "./ci/pages.sh"
Vivien Kraus's avatar
Deploy!    
Vivien Kraus committed
65
66
  artifacts:
    paths:
67
    - public
Vivien Kraus's avatar
Vivien Kraus committed
68
    expire_in: 1 week