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 2.47 KB
Newer Older
1
sbbs-linux:
2
  tags: [Linux]
3
  image: gcc
4 5 6 7 8 9
  stage: build
  script:
    - cd src/sbbs3
    - make RELEASE=1 all
    - make RELEASE=1 gtkutils
  artifacts:
10
    name: sbbs-linux-x64
11 12 13 14
    paths:
      - "src/sbbs3/*.exe.release/*"
      - "src/sbbs3/*.lib.release/*"
      - "src/sbbs3/*/*.exe.release/*"
Rob Swindell's avatar
Rob Swindell committed
15

16
sexpots-linux:
17
  tags: [Linux]
18 19 20
  image: gcc
  stage: build
  script:
Rob Swindell's avatar
Rob Swindell committed
21
    - cd src/sexpots
22 23
    - make RELEASE=1
  artifacts:
Rob Swindell's avatar
Rob Swindell committed
24
    name: sexpots-linux-x64
25 26
    paths:
      - "src/sexpots/*.exe.release/*"
27

28
syncterm-linux:
29
  tags: [Linux]
30 31 32 33 34 35
  image: gcc
  stage: build
  script:
    - cd src/syncterm
    - make RELEASE=1
  artifacts:
36
    name: syncterm-linux-x64
37 38
    paths:
      - "src/syncterm/*.exe.release/*"
Rob Swindell's avatar
Rob Swindell committed
39

40
sbbs-windows:
41
  tags: [Windows]
42 43
  stage: build
  script:
44 45 46
    - cd src/xpdev
    - make
    - cd ../../src/sbbs3
47
    - .\release.bat
48 49 50 51 52 53
    - cd ctrl
    - .\build.bat
    - cd ../chat
    - .\build.bat
    - cd ../useredit
    - .\build.bat
54
  artifacts:
55
    name: sbbs-win32
56
    paths:
57 58 59
      - "src/sbbs3/*.exe.release/*.exe"
      - "src/sbbs3/*.dll.release/*.dll"
      - "src/sbbs3/*/*.exe.release/*.exe"
60
      - "src/sbbs3/*/*.exe"
Rob Swindell's avatar
Rob Swindell committed
61 62

sexpots-windows:
63
  tags: [Windows]
Rob Swindell's avatar
Rob Swindell committed
64 65 66 67 68 69 70
  stage: build
  script:
    - cd src/sexpots
    - .\release.bat
  artifacts:
    name: sexpots-win32
    paths:
Rob Swindell's avatar
Rob Swindell committed
71 72 73 74 75 76 77 78 79
      - "src/sexpots/Release/*.exe"

sbbs-freebsd:
  tags: [FreeBSD]
  stage: build
  script:
    - cd src/sbbs3
    - gmake RELEASE=1 all
  artifacts:
80
    name: sbbs-freebsd-amd64
Rob Swindell's avatar
Rob Swindell committed
81 82 83 84 85 86 87 88 89 90
    paths:
      - "src/sbbs3/*.exe.release/*"
      - "src/sbbs3/*.lib.release/*"
      - "src/sbbs3/*/*.exe.release/*"

syncterm-freebsd:
  tags: [FreeBSD]
  stage: build
  script:
    - cd src/syncterm
91
    - gmake RELEASE=1
Rob Swindell's avatar
Rob Swindell committed
92
  artifacts:
93
    name: syncterm-freebsd-amd64
Rob Swindell's avatar
Rob Swindell committed
94 95
    paths:
      - "src/syncterm/*.exe.release/*"
96 97 98 99 100 101 102 103 104 105 106

syncterm-windows:
  tags: [FreeBSD]
  stage: build
  script:
    - cd src/syncterm
    - gmake AR=mingw32-ar CC=mingw32-gcc CXX=mingw32-g++ RANLIB=mingw32-ranlib RELEASE=1 STATIC_CRYPTLIB=yes USE_SDL=1 VERBOSE=please WINDRES=mingw32-windres
  artifacts:
    name: syncterm-win32
    paths:
      - "src/syncterm/*.exe.release/*"
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129

syncdraw-freebsd:
  tags: [FreeBSD]
  stage: build
  script:
    - cd src/syncdraw
    - gmake RELEASE=1
  artifacts:
    name: syncdraw-freebsd-amd64
    paths:
      - "src/syncdraw/*.exe.release/*"

syncdraw-linux:
  tags: [Linux]
  image: gcc
  stage: build
  script:
    - cd src/syncdraw
    - gmake RELEASE=1
  artifacts:
    name: syncdraw-linux-x64
    paths:
      - "src/syncdraw/*.exe.release/*"