aboutsummaryrefslogtreecommitdiff
path: root/support/scripts/generate-gitlab-ci-yml
blob: 262a7649b231c3e6f9df0e277f35823eacfa667a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env bash
set -e
set -o pipefail

input="${1}"

cat "${input}"

(
    cd configs
    LC_ALL=C ls -1 *_defconfig
) \
    | sed 's/$/: { extends: .defconfig }/'

./support/testing/run-tests -l 2>&1 \
    | sed -r -e '/^test_run \((.*)\).*/!d; s//\1: { extends: .runtime_test }/' \
    | LC_ALL=C sort