[LTP] [PATCH 0/3] CI: Move from Travis to GitHub Actions

Petr Vorel pvorel@suse.cz
Mon May 31 18:50:49 CEST 2021


Hi,

Travis often false positive due "pull rate limit" issue [1],
thus I decided to finally switch to GitHub Actions.

Also using GitHub native CI allows more advanced features
(e.g. update wiki with doc/*.txt, nightly build docparser doc).

Whole thing is tested [2].

I rewritten build.sh, added -r step.
It's ugly, using commands in yaml would be more readable. But I'd prefer
1) not writting shell in yaml 2) have build script for local use.

Please comment, test.

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/issues/761
[2] https://github.com/pevik/ltp/actions/runs/893331703

Petr Vorel (3):
  build.sh: Rewrite to allow running certain step
  CI: Rename travis script directory
  CI: Move from Travis to GitHub Actions

 .github/workflows/ci.yml               | 154 +++++++++++++++++++
 .travis.yml                            | 131 ----------------
 build.sh                               | 198 ++++++++++++++-----------
 {travis => ci}/alpine.sh               |   0
 {travis => ci}/centos.sh               |   0
 {travis => ci}/debian.cross-compile.sh |   0
 {travis => ci}/debian.i386.sh          |   0
 {travis => ci}/debian.minimal.sh       |   0
 {travis => ci}/debian.sh               |   0
 {travis => ci}/fedora.sh               |   0
 {travis => ci}/opensuse.sh             |   0
 {travis => ci}/tumbleweed.sh           |   0
 {travis => ci}/ubuntu.sh               |   0
 13 files changed, 262 insertions(+), 221 deletions(-)
 create mode 100644 .github/workflows/ci.yml
 delete mode 100644 .travis.yml
 rename {travis => ci}/alpine.sh (100%)
 rename {travis => ci}/centos.sh (100%)
 rename {travis => ci}/debian.cross-compile.sh (100%)
 rename {travis => ci}/debian.i386.sh (100%)
 rename {travis => ci}/debian.minimal.sh (100%)
 rename {travis => ci}/debian.sh (100%)
 rename {travis => ci}/fedora.sh (100%)
 rename {travis => ci}/opensuse.sh (100%)
 rename {travis => ci}/tumbleweed.sh (100%)
 rename {travis => ci}/ubuntu.sh (100%)

-- 
2.31.1



More information about the ltp mailing list