Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

.gitlab-ci.yml 1.59 KB
Newer Older
1
linux_job:
2 3
  tags: linux
  image: gcc
Rob Swindell's avatar
Rob Swindell committed
4

5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
  build-sbbs:
    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:
      name: sbbs
      paths:
        - "src/sbbs3/*.exe.release/*"
        - "src/sbbs3/*.lib.release/*"
        - "src/sbbs3/*/*.exe.release/*"
23

24 25 26 27 28 29 30 31 32 33 34 35 36
  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/*.exe.release/*"
37

38 39 40 41 42 43 44 45 46 47 48 49 50
  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/*.exe.release/*"
Rob Swindell's avatar
Rob Swindell committed
51

52

53
window_job:
54 55 56 57 58 59 60 61 62 63 64 65 66
  tags: windows

  build-sbbs:
    stage: build
    script:
      - cd src/sbbs3
      - build.bat
    artifacts:
      name: sbbs
      paths:
        - "src/sbbs3/*.exe.release/*"
        - "src/sbbs3/*.lib.release/*"
        - "src/sbbs3/*/*.exe.release/*"