.gitlab-ci.yml 1.51 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
    paths:
22 23 24
      - "src/sbbs3/*.exe.release/*"
      - "src/sbbs3/*.lib.release/*"
      - "src/sbbs3/*/*.exe.release/*"
25 26 27 28 29 30 31 32 33 34 35 36 37

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:
38
      - "src/sexpots/*.exe.release/*"
39 40 41 42 43 44 45 46 47 48 49 50 51

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:
52
      - "src/syncterm/*.exe.release/*"
Rob Swindell's avatar
Rob Swindell committed
53 54 55 56 57 58

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