.gitlab-ci.yml 1.46 KB
Newer Older
Rob Swindell's avatar
Rob Swindell committed
1 2 3 4 5 6
# This file is a template, and might need editing before it works on your project.
# use the official gcc image, based on debian
# can use verions as well, like gcc:5.2
# see https://hub.docker.com/_/gcc/
image: gcc

7
build-sbbs:
Rob Swindell's avatar
Rob Swindell committed
8 9 10 11 12 13 14 15 16 17 18 19
  stage: build
  # instead of calling g++ directly you can also use some build toolkit like make
  # install the necessary build tools when needed
  # before_script:
  #   - apt update && apt -y install make autoconf
  script:
    - cd src/sbbs3
    - make all
    - make gtkutils
    - make RELEASE=1 all
    - make RELEASE=1 gtkutils
  artifacts:
20
    name: sbbs
Rob Swindell's avatar
Rob Swindell committed
21 22 23
    paths:
      - "src/sbbs3/*.release/*"
      - "src/sbbs3/*/*.release/*"
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51

build-sexpots:
  stage: build
  # instead of calling g++ directly you can also use some build toolkit like make
  # install the necessary build tools when needed
  # before_script:
  #   - apt update && apt -y install make autoconf
  script:
    - cd src/sexpots
    - make RELEASE=1
  artifacts:
    name: sexpots
    paths:
      - "src/sexpots/*.release/*"

build-syncterm:
  stage: build
  # instead of calling g++ directly you can also use some build toolkit like make
  # install the necessary build tools when needed
  # before_script:
  #   - apt update && apt -y install make autoconf
  script:
    - cd src/syncterm
    - make RELEASE=1
  artifacts:
    name: syncterm
    paths:
      - "src/syncterm/*.release/*"
Rob Swindell's avatar
Rob Swindell committed
52 53 54 55 56 57

# run tests using the binary built before
#test:
#  stage: test
#  script:
#    - ./runmytests.sh