Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KIT-CA
dfnpkitool
Commits
d5b73307
Commit
d5b73307
authored
Aug 11, 2020
by
Heiko Reese
Browse files
Enable CI
parent
3d884af0
Pipeline
#104134
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
d5b73307
.go_stuff
:
&go_stuff
image
:
golang:latest
before_script
:
-
go version
-
export PKG_ROOT="${GOPATH}/src/git.scc.kit.edu/KIT-CA/"
-
export PKG_PATH="${PKG_ROOT}/dfnpkitool"
-
echo "${CI_PROJECT_DIR}" "${PKG_PATH}"
-
mkdir -p "${PKG_ROOT}"
-
ln -s "${CI_PROJECT_DIR}" "${PKG_PATH}"
-
cd "${PKG_PATH}"
- unset GOPATH
build
:
<<
:
*go_stuff
script
:
-
go get -v -t ./...
-
go build
artifacts
:
expire_in
:
1 year
paths
:
-
dfnpkitool
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment