Adding build lines and artifacts to CI pipeline

This commit is contained in:
Farhan Khan 2021-12-09 21:20:04 +00:00
parent 7e9bf47c60
commit 25abeacf7b

View File

@ -5,9 +5,19 @@ build:
script:
- cd fedilogue
- go get .
- go build ./fedilogue
- go build
- cd ../fedictl
- go build
- cd ../restapi
- go build
only:
- main
artifacts:
name: "$CI_JOB_NAME"
paths:
- fedilogue/fedilogue
- fedictl/fedictl
- restapi/restapi
test:
stage: test