.gitlab-ci.yml 536 Bytes
Newer Older
1 2
# Rosie Pattern Language

3 4
variables:
  GIT_SUBMODULE_STRATEGY: recursive
5 6
  GIT_STRATEGY: fetch
  
Jamie Jennings's avatar
Jamie Jennings committed
7
before_script:
Jamie A. Jennings's avatar
Jamie A. Jennings committed
8
  - apt-get -y update
9
  - apt-get install -y gcc make git libreadline-dev libbsd-dev readline-common
10

11 12
image: ubuntu

13 14 15 16 17 18
stages:
  - build
  - test

make:
  stage: build
Jamie Jennings's avatar
Jamie Jennings committed
19
  script: "make LUADEBUG=1"
20
  only:
21
    - dev
22 23
    - release
    - master
Jamie Jennings's avatar
Jamie Jennings committed
24
  artifacts:
Jamie A. Jennings's avatar
Jamie A. Jennings committed
25
    expire_in: 40 minutes
Jamie Jennings's avatar
Jamie Jennings committed
26 27 28 29
    paths:
      - src/librosie/binaries
      - bin
      - lib
30 31 32 33

wb_test:
  stage: test
  script: make test
34
  only:
35
    - release
36
    - master
37