Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
f3a4ae61
Commit
f3a4ae61
authored
4 years ago
by
Rob Swindell
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+62
-54
62 additions, 54 deletions
.gitlab-ci.yml
with
62 additions
and
54 deletions
.gitlab-ci.yml
+
62
−
54
View file @
f3a4ae61
# 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/*"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment