blob: 4ee892390e174acb86576c0181a10bf8016ed3b5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
stages:
- build
# with :; prevent from run it on windows
before_script:
- ":; uname -a"
- ":; cat /etc/os-release"
- ":; pwd"
- ":; cat /proc/sys/kernel/core_pattern"
- ":; mkdir logs || true"
- ":; ${UPDATEREPOS}"
- ":; ${DOCKERRETRY} ${PMUPDATE} >logs/apt.log"
- ":; ${DOCKERRETRY} ${PMINSTALL} ${PACKAGES} >>logs/apt.log"
- ":; ./tools/ci/scripts/clonesrc.sh"
- ":; cd manaplus"
image: debian:unstable
variables:
GET_SOURCES_ATTEMPTS: "5"
ARTIFACT_DOWNLOAD_ATTEMPTS: "5"
UPDATEREPOS: "tools/ci/scripts/updaterepos.sh"
PMUPDATE: "apt-get update"
PMINSTALL: "apt-get install -y -qq"
DOCKERRETRY: "./tools/ci/scripts/dockerretry.sh"
GIT_DEPTH: "1"
.job-push: &job-push
artifacts:
paths:
- logs
- manaplus/logs
when: always
expire_in: 3 week
dependencies: []
.job-always: &job-always
artifacts:
paths:
- logs
- manaplus/logs
when: always
expire_in: 3 week
dependencies: []
.fedora_gcc-snapshot_sanitize_tests:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot_sanitize_tests.sh --without-dyecmd --without-manaplusgame
- ldd ./src/manaplustests | grep "libasan"
<<: *job-push
image: fedora:rawhide
variables:
PMUPDATE: "dnf --nogpgcheck install --refresh -y @development-tools"
PMINSTALL: "dnf --nogpgcheck install -y git bash tar findutils gcc gcc-c++ make libpng-devel libcurl-devel openssl-devel libxml2-devel gcc SDL-devel SDL_net-devel SDL_image-devel SDL_ttf-devel SDL_mixer-devel SDL_gfx-devel zlib-devel gettext-devel automake autoconf valgrind libasan liblsan libubsan"
FLAGS: "gccfedora.sh"
tags:
- docker
.fedora_gcc-snapshot_sanitize_sdl2_tests:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot_sanitize_tests.sh --with-sdl2 --without-dyecmd --without-manaplusgame
- ldd ./src/manaplustests | grep "libasan"
<<: *job-push
image: fedora:rawhide
variables:
PMUPDATE: "dnf --nogpgcheck install --refresh -y @development-tools"
PMINSTALL: "dnf --nogpgcheck install -y git bash tar findutils mesa-libGL-devel gcc gcc-c++ make libpng-devel libcurl-devel openssl-devel libxml2-devel gcc SDL2-devel SDL2_net-devel SDL2_image-devel SDL2_ttf-devel SDL2_mixer-devel SDL2_gfx-devel zlib-devel gettext-devel automake autoconf valgrind libasan liblsan libubsan"
FLAGS: "gccfedora.sh"
tags:
- docker
fedora_gcc-snapshot_tests:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot_tests.sh --without-dyecmd --without-manaplusgame
<<: *job-push
image: fedora:rawhide
variables:
PMUPDATE: "dnf --nogpgcheck install --refresh -y @development-tools"
PMINSTALL: "dnf --nogpgcheck install -y git bash tar findutils gcc gcc-c++ make libpng-devel libcurl-devel openssl-devel libxml2-devel gcc SDL-devel SDL_net-devel SDL_image-devel SDL_ttf-devel SDL_mixer-devel SDL_gfx-devel zlib-devel gettext-devel automake autoconf valgrind"
FLAGS: "gccfedora.sh"
tags:
- docker
fedora_gcc-snapshot_sdl2_tests:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot_tests.sh --with-sdl2 --without-dyecmd --without-manaplusgame
<<: *job-push
image: fedora:rawhide
variables:
PMUPDATE: "dnf --nogpgcheck install --refresh -y @development-tools"
PMINSTALL: "dnf --nogpgcheck install -y git bash tar findutils mesa-libGL-devel gcc gcc-c++ make libpng-devel libcurl-devel openssl-devel libxml2-devel gcc SDL2-devel SDL2_net-devel SDL2_image-devel SDL2_ttf-devel SDL2_mixer-devel SDL2_gfx-devel zlib-devel gettext-devel automake autoconf valgrind"
FLAGS: "gccfedora.sh"
tags:
- docker
fedora_gcc-snapshot:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot.sh
- ./tools/ci/scripts/runtests.sh
<<: *job-push
image: fedora:rawhide
variables:
PMUPDATE: "dnf --nogpgcheck install --refresh -y @development-tools"
PMINSTALL: "dnf --nogpgcheck install -y git nc bash tar findutils gcc gcc-c++ make libpng-devel libcurl-devel openssl-devel libxml2-devel gcc SDL-devel SDL_net-devel SDL_image-devel SDL_ttf-devel SDL_mixer-devel SDL_gfx-devel zlib-devel gettext-devel automake autoconf"
FLAGS: "gccfedora.sh"
tags:
- docker
fedora_gcc-snapshot_sdl2:
stage: build
script:
- ./tools/ci/jobs/gccsnapshot.sh --with-sdl2
- ./tools/ci/scripts/runtests.sh
<<: *job-push
image: fedora:rawhide
variables:
PMUPDATE: "dnf --nogpgcheck install --refresh -y @development-tools"
PMINSTALL: "dnf --nogpgcheck install -y git nc bash tar findutils mesa-libGL-devel gcc gcc-c++ make libpng-devel libcurl-devel openssl-devel libxml2-devel gcc SDL2-devel SDL2_net-devel SDL2_image-devel SDL2_ttf-devel SDL2_mixer-devel SDL2_gfx-devel zlib-devel gettext-devel automake autoconf"
FLAGS: "gccfedora.sh"
tags:
- docker
|