summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.ci/run.sh1
-rw-r--r--.gitlab-ci.yml8
-rw-r--r--scripts/include/common.sh4
3 files changed, 10 insertions, 3 deletions
diff --git a/.ci/run.sh b/.ci/run.sh
index 443611d..d539f63 100755
--- a/.ci/run.sh
+++ b/.ci/run.sh
@@ -2,3 +2,4 @@
cd scripts
../.ci/retry.sh $*
+cd ..
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 24ca6d9..2ffd1d3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -11,10 +11,16 @@ before_script:
when: always
expire_in: 3 week
-test:getsrc:
+test:commands:
stage: test
script:
- ./.ci/install.sh git-core bash
- ./.ci/run.sh ./getsrc.sh zlib
+ - ls src/zlib
+ - ./.ci/run.sh ./build.sh zlib
+ - ls bin/zlib
+ - ./.ci/run.sh ./clean.sh zlib
+ - mkdir bin/zlib
+ - ./.ci/run.sh ./updatesrc.sh zlib
image: debian:unstable
<<: *job-artifacts
diff --git a/scripts/include/common.sh b/scripts/include/common.sh
index 9c6033f..ae5c64c 100644
--- a/scripts/include/common.sh
+++ b/scripts/include/common.sh
@@ -196,6 +196,6 @@ function package_update_source {
}
function common_clean_destination {
- echo "clean ${installname}"
- rm -rf "${installname}"
+ echo "clean ${bindir}"
+ rm -rf "${bindir}"
}