.gitlab-ci.yml 703 Bytes
Newer Older
Camil Staps's avatar
Camil Staps committed
1 2 3
variables:
  GIT_SUBMODULE_STRATEGY: recursive

4
stages:
Camil Staps's avatar
Camil Staps committed
5
  - test
6 7
  - build

Camil Staps's avatar
Camil Staps committed
8 9
test:
  stage: test
10 11
  image: camilstaps/clean:nightly
  script:
Camil Staps's avatar
Camil Staps committed
12 13
    - . ./backend/install_clean_vars.sh
    - install_clean.sh 'base lib-dynamics lib-gast lib-platform test test-properties'
14 15
    - make test

Camil Staps's avatar
Camil Staps committed
16
backend:
17
  stage: build
Camil Staps's avatar
Camil Staps committed
18 19 20 21 22
  image: camilstaps/clean:nightly
  script:
    - cd backend
    - ./build.sh
  artifacts:
23
    when: always
Camil Staps's avatar
Camil Staps committed
24
    paths:
25
      - backend/rank_settings.json
26
      - backend/db.jsonl
Camil Staps's avatar
Camil Staps committed
27 28 29
      - backend/typetree.dot

frontend:
30
  stage: build
Camil Staps's avatar
Camil Staps committed
31
  image: php:7.2-apache
Camil Staps's avatar
Camil Staps committed
32 33 34 35 36
  script:
    - cd frontend
    - ./build.sh

stats:
37
  stage: build
Camil Staps's avatar
Camil Staps committed
38
  image: debian:buster-slim
Camil Staps's avatar
Camil Staps committed
39 40 41
  script:
    - cd stats
    - ./build.sh