Skip to content
Snippets Groups Projects
Commit f3a4ae61 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

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

Add Windows build job.
parent cd9b8ce3
No related branches found
No related tags found
No related merge requests found
# 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/*"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment