.gitlab-ci.yml 1.2 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
image: debian
Vivien Kraus's avatar
Deploy!    
Vivien Kraus committed
17

Vivien Kraus's avatar
Vivien Kraus committed
18
19
stages:
  - dist
Vivien Kraus's avatar
Vivien Kraus committed
20
  - check
Vivien Kraus's avatar
Vivien Kraus committed
21
  - manual
Vivien Kraus's avatar
Deploy!    
Vivien Kraus committed
22

Vivien Kraus's avatar
Vivien Kraus committed
23
dist:
Vivien Kraus's avatar
Vivien Kraus committed
24
  stage: dist
Vivien Kraus's avatar
Vivien Kraus committed
25
  script: "./ci/dist.sh"
Vivien Kraus's avatar
Vivien Kraus committed
26
27
  artifacts:
    paths:
Vivien Kraus's avatar
Vivien Kraus committed
28
    - dist
Vivien Kraus's avatar
Vivien Kraus committed
29
30
    expire_in: 1 week

Vivien Kraus's avatar
Vivien Kraus committed
31
32
33
34
check:
  stage: check
  script: "./ci/check.sh"

Vivien Kraus's avatar
Vivien Kraus committed
35
36
37
38
mingw:
  image: fedora
  stage: check
  script: "./ci/mingw.sh"
Vivien Kraus's avatar
Vivien Kraus committed
39
40
41
42
  artifacts:
    paths:
    - public
    expire_in: 1 week
Vivien Kraus's avatar
Vivien Kraus committed
43

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

Vivien Kraus's avatar
Deploy!    
Vivien Kraus committed
52
pages:
Vivien Kraus's avatar
Vivien Kraus committed
53
  stage: manual
Vivien Kraus's avatar
Vivien Kraus committed
54
  script: "./ci/pages.sh"
Vivien Kraus's avatar
Deploy!    
Vivien Kraus committed
55
56
  artifacts:
    paths:
57
    - public
Vivien Kraus's avatar
Vivien Kraus committed
58
    expire_in: 1 week