generate-gitlab-ci-yml 309 B

1234567891011121314151617
  1. #!/usr/bin/env bash
  2. set -e
  3. set -o pipefail
  4. input="${1}"
  5. cat "${input}"
  6. (
  7. cd configs
  8. LC_ALL=C ls -1 *_defconfig
  9. ) \
  10. | sed 's/$/: { extends: .defconfig }/'
  11. ./support/testing/run-tests -l 2>&1 \
  12. | sed -r -e '/^test_run \((.*)\).*/!d; s//\1: { extends: .runtime_test }/' \
  13. | LC_ALL=C sort