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

Cache .o files and build syncterm and sexpots too

parent 33ec1f04
No related branches found
No related tags found
No related merge requests found
Pipeline #15 passed
...@@ -4,7 +4,12 @@ ...@@ -4,7 +4,12 @@
# see https://hub.docker.com/_/gcc/ # see https://hub.docker.com/_/gcc/
image: gcc image: gcc
build: # cache outputs to reduce the build time
cache:
paths:
- "**/*.o"
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
...@@ -17,13 +22,38 @@ build: ...@@ -17,13 +22,38 @@ build:
- make RELEASE=1 all - make RELEASE=1 all
- make RELEASE=1 gtkutils - make RELEASE=1 gtkutils
artifacts: artifacts:
name: sbbs
paths: paths:
- "src/sbbs3/*.release/*" - "src/sbbs3/*.release/*"
- "src/sbbs3/*/*.release/*" - "src/sbbs3/*/*.release/*"
# depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
# cache: build-sexpots:
# paths: stage: build
# - "*.o" # 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/*.release/*"
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/*.release/*"
# run tests using the binary built before # run tests using the binary built before
#test: #test:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment