murdock: use dist/tools/ci/static_tests.sh
This commit is contained in:
parent
09538c5a75
commit
5c44e27a7d
15
.murdock
15
.murdock
@ -329,24 +329,13 @@ run_test() {
|
|||||||
|
|
||||||
# execute static tests
|
# execute static tests
|
||||||
static_tests() {
|
static_tests() {
|
||||||
local repo=${CI_BASE_REPO:-https://github.com/RIOT-OS/RIOT}
|
|
||||||
local branch=${CI_BASE_BRANCH:-master}
|
|
||||||
|
|
||||||
print_worker
|
print_worker
|
||||||
|
./dist/tools/ci/static_tests.sh
|
||||||
OUT="$(git remote add upstream $repo 2>&1 && git fetch upstream ${branch}:${branch} 2>&1)"
|
|
||||||
RES=$?
|
|
||||||
if [ $RES -ne 0 ]; then
|
|
||||||
echo "$OUT"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
BUILDTEST_MCU_GROUP=static-tests ./dist/tools/ci/build_and_test.sh
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get_non_compile_jobs() {
|
get_non_compile_jobs() {
|
||||||
[ "$STATIC_TESTS" = "1" ] && \
|
[ "$STATIC_TESTS" = "1" ] && \
|
||||||
echo "$0 static_tests###{ \"jobdir\" : \"exclusive\" }"
|
echo "$0 static_tests"
|
||||||
}
|
}
|
||||||
|
|
||||||
get_jobs() {
|
get_jobs() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user