mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 04:52:59 +01:00
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
|
||||
static_tests() {
|
||||
local repo=${CI_BASE_REPO:-https://github.com/RIOT-OS/RIOT}
|
||||
local branch=${CI_BASE_BRANCH:-master}
|
||||
|
||||
print_worker
|
||||
|
||||
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
|
||||
./dist/tools/ci/static_tests.sh
|
||||
}
|
||||
|
||||
get_non_compile_jobs() {
|
||||
[ "$STATIC_TESTS" = "1" ] && \
|
||||
echo "$0 static_tests###{ \"jobdir\" : \"exclusive\" }"
|
||||
echo "$0 static_tests"
|
||||
}
|
||||
|
||||
get_jobs() {
|
||||
|
Loading…
Reference in New Issue
Block a user