projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a5eb1a
)
gitlab-ci: use git clean -ffdx in build each commit test
author
Wei Liu
<wei.liu2@citrix.com>
Mon, 8 Apr 2019 11:50:31 +0000
(12:50 +0100)
committer
Wei Liu
<wei.liu2@citrix.com>
Mon, 8 Apr 2019 12:28:12 +0000
(13:28 +0100)
The build script invoked is designed to run in a pristine checkout.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Doug Goldstein <cardoe@cardoe.com>
automation/gitlab-ci/build-each-commit.sh
patch
|
blob
|
history
diff --git
a/automation/gitlab-ci/build-each-commit.sh
b/automation/gitlab-ci/build-each-commit.sh
index 275bc71902159ae678a5cb17596ef69dc2c3dc3f..879028b5a71d13230c34bb4835bc063661c1055d 100755
(executable)
--- a/
automation/gitlab-ci/build-each-commit.sh
+++ b/
automation/gitlab-ci/build-each-commit.sh
@@
-15,4
+15,4
@@
fi
echo "Building ${CI_COMMIT_BEFORE_SHA}..${CI_COMMIT_SHA}"
NON_SYMBOLIC_REF=1 ./automation/scripts/build-test.sh ${CI_COMMIT_BEFORE_SHA} ${CI_COMMIT_SHA} \
- bash -c "
make -j4 distclean
&& ./automation/scripts/build"
+ bash -c "
git clean -ffdx
&& ./automation/scripts/build"