-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitlab-ci.yml
67 lines (58 loc) · 1.53 KB
/
.gitlab-ci.yml
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
# Pingus - A free Lemmings clone
# Copyright (C) 2018 Ingo Ruhnke <grumbel@gmail.com>
#
# 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
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# 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/>.
image: ubuntu:latest
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- apt-get -qq update
- apt-get -qq -y install lsb-release
- lsb_release -a
- apt-get -qq -y install
clang-6.0
g++-8
cmake
build-essential
libc++-dev
pkg-config
liballegro4-dev
.build_pingus_template: &build_pingus
stage: build
script:
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE
- make VERBOSE=1
build:gcc:release:
<<: *build_pingus
variables:
CXX: g++-8
BUILD_TYPE: Release
build:clang:release:
<<: *build_pingus
variables:
CXX: clang++-6.0
BUILD_TYPE: Release
build:gcc:debug:
<<: *build_pingus
variables:
CXX: g++-8
BUILD_TYPE: Debug
build:clang:debug:
<<: *build_pingus
variables:
CXX: clang++-6.0
BUILD_TYPE: Debug
# EOF #