good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
c89f4352
Commit
c89f4352
authored
May 7, 2016
by
Felix Lange
Browse files
Options
Downloads
Patches
Plain Diff
build: add CI scripts for windows
parent
f821b018
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/win-ci-compile.bat
+26
-0
26 additions, 0 deletions
build/win-ci-compile.bat
build/win-ci-test.bat
+15
-0
15 additions, 0 deletions
build/win-ci-test.bat
with
41 additions
and
0 deletions
build/win-ci-compile.bat
0 → 100644
+
26
−
0
View file @
c89f4352
@echo
off
if
not
exist
.\build\win
-ci-compile
.bat
(
echo
This
script
must
be
run
from
the
root
of
the
repository
.
exit
/b
)
if
not
defined
GOPATH
(
echo
GOPATH
is
not
set
.
exit
/b
)
set
GOPATH
=
%GOPATH%
;
%cd%
\Godeps\_workspace
set
GOBIN
=
%cd%
\build\bin
rem set gitCommit when running from a Git checkout.
set
goLinkFlags
=
""
if
exist
".git\HEAD"
(
where
/q
git
if
not
errorlevel
1
(
for
/f
%%h
in
(
'git rev-parse HEAD'
)
do
(
set
goLinkFlags
=
"-X main.gitCommit=
%%h
"
)
)
)
@echo
on
go
install
-v -ldflags
%goLinkFlags%
./...
This diff is collapsed.
Click to expand it.
build/win-ci-test.bat
0 → 100644
+
15
−
0
View file @
c89f4352
@echo
off
if
not
exist
.\build\win
-ci-test
.bat
(
echo
This
script
must
be
run
from
the
root
of
the
repository
.
exit
/b
)
if
not
defined
GOPATH
(
echo
GOPATH
is
not
set
.
exit
/b
)
set
GOPATH
=
%GOPATH%
;
%cd%
\Godeps\_workspace
set
GOBIN
=
%cd%
\build\bin
@echo
on
go
test
./...
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