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

Commit adce1b89 authored by Rob Swindell's avatar Rob Swindell 💬

Move gcc/Linux into its own job, tagged "linux".

Add Windows build job.
parent 153575fe
Pipeline #595 failed
# This file is a template, and might need editing before it works on your project. linux job:
# use the official gcc image, based on debian tags: linux
# can use verions as well, like gcc:5.2 image: gcc
# see https://hub.docker.com/_/gcc/
image: gcc
build-sbbs: build-sbbs:
stage: build stage: build
# instead of calling g++ directly you can also use some build toolkit like make # instead of calling g++ directly you can also use some build toolkit like make
# install the necessary build tools when needed # install the necessary build tools when needed
# before_script: # before_script:
# - apt update && apt -y install make autoconf # - apt update && apt -y install make autoconf
script: script:
- cd src/sbbs3 - cd src/sbbs3
- make all - make all
- make gtkutils - make gtkutils
- make RELEASE=1 all - make RELEASE=1 all
- make RELEASE=1 gtkutils - make RELEASE=1 gtkutils
artifacts: artifacts:
name: sbbs name: sbbs
paths: paths:
- "src/sbbs3/*.exe.release/*" - "src/sbbs3/*.exe.release/*"
- "src/sbbs3/*.lib.release/*" - "src/sbbs3/*.lib.release/*"
- "src/sbbs3/*/*.exe.release/*" - "src/sbbs3/*/*.exe.release/*"
build-sexpots: build-sexpots:
stage: build stage: build
# instead of calling g++ directly you can also use some build toolkit like make # instead of calling g++ directly you can also use some build toolkit like make
# install the necessary build tools when needed # install the necessary build tools when needed
# before_script: # before_script:
# - apt update && apt -y install make autoconf # - apt update && apt -y install make autoconf
script: script:
- cd src/sexpots - cd src/sexpots
- make RELEASE=1 - make RELEASE=1
artifacts: artifacts:
name: sexpots name: sexpots
paths: paths:
- "src/sexpots/*.exe.release/*" - "src/sexpots/*.exe.release/*"
build-syncterm: build-syncterm:
stage: build stage: build
# instead of calling g++ directly you can also use some build toolkit like make # instead of calling g++ directly you can also use some build toolkit like make
# install the necessary build tools when needed # install the necessary build tools when needed
# before_script: # before_script:
# - apt update && apt -y install make autoconf # - apt update && apt -y install make autoconf
script: script:
- cd src/syncterm - cd src/syncterm
- make RELEASE=1 - make RELEASE=1
artifacts: artifacts:
name: syncterm name: syncterm
paths: paths:
- "src/syncterm/*.exe.release/*" - "src/syncterm/*.exe.release/*"
# run tests using the binary built before
#test: window job:
# stage: test tags: windows
# script:
# - ./runmytests.sh 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/*"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment