summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: b0aae2fe533d72f655e1355246ca584747778d76 (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
# Copied in from Moubootaur Legends's Hercules .gitlab-ci.yml
stages:
  - build

variables: &base_vars
  DEBIAN_COMMON_PACKAGES: make python git gcc g++

.prerequisites: &prerequisites
  before_script:
    - echo "Building TMW Athena $CI_BUILD_NAME"
    - uname -a
    - apt-get update
    - apt-get install -y -qq $INSTALL_PACKAGES $DEBIAN_COMMON_PACKAGES
    - apt-cache policy python
    - apt-cache search python

# Compilers
  variables:
    <<: *base_vars

re:ubuntu1804:build:
  <<: *prerequisites
  stage: build
  image: ubuntu:18.04
  variables:
    <<: *base_vars
  script:
    - git submodule update --init
    - ./configure --user
    - make
    - make install