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

variables: &base_vars
  DEBIAN_COMMON_PACKAGES: make python3 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

# Compilers
  variables:
    <<: *base_vars

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