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

variables: &base_vars
  DEBIAN_COMMON_PACKAGES: make python3

.prerequisites: &prerequisites
  before_script:
    - echo "Building demo project $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: test
  image: debian:stable
  variables:
    <<: *base_vars
    INSTALL_PACKAGES: gcc
  script:
    - ./test-everything.sh

re:debian-testing:
  <<: *prerequisites
  stage: test
  image: debian:testing
  variables:
    <<: *base_vars
    INSTALL_PACKAGES: gcc
  script:
    - ./test-everything.sh