-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This file is GENERATED BY CI-testing/generate_gh_actions.py | ||
|
||
jobs: | ||
test-docker-ci-debian: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: sudo apt-get update -qq | ||
- run: sudo apt-get -y remove libgd3 libunwind-14 nginx | ||
- run: sudo apt-get --no-install-recommends install -y eatmydata | ||
- run: sudo eatmydata apt-get --no-install-recommends install | ||
-y build-essential | ||
cpanminus libperl-dev libxml2-dev | ||
libxslt1-dev perl xz-utils zip | ||
- run: sudo cpanm --verbose Carp Carp::Always | ||
Docker::CLI::Wrapper::Container | ||
Moo Path::Tiny | ||
- run: perl bin/docker-ci-run.pl --regex-filter='debian' | ||
timeout-minutes: 20 | ||
name: test-docker-ci-debian | ||
'on': | ||
- push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This file is GENERATED BY CI-testing/generate_gh_actions.py | ||
|
||
jobs: | ||
test-docker-ci-fedora: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: sudo apt-get update -qq | ||
- run: sudo apt-get -y remove libgd3 libunwind-14 nginx | ||
- run: sudo apt-get --no-install-recommends install -y eatmydata | ||
- run: sudo eatmydata apt-get --no-install-recommends install | ||
-y build-essential | ||
cpanminus libperl-dev libxml2-dev | ||
libxslt1-dev perl xz-utils zip | ||
- run: sudo cpanm --verbose Carp Carp::Always | ||
Docker::CLI::Wrapper::Container | ||
Moo Path::Tiny | ||
- run: perl bin/docker-ci-run.pl --regex-filter='fedora' | ||
timeout-minutes: 20 | ||
name: test-docker-ci-fedora | ||
'on': | ||
- push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This file is GENERATED BY | ||
# bin/CI-testing/translate-travis.yml-to-github-actions.py | ||
TMPL = """ | ||
jobs: | ||
test-docker-ci-{sys}: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: sudo apt-get update -qq | ||
- run: sudo apt-get -y remove libgd3 libunwind-14 nginx | ||
- run: sudo apt-get --no-install-recommends install -y eatmydata | ||
- run: sudo eatmydata apt-get --no-install-recommends install | ||
-y build-essential | ||
cpanminus libperl-dev libxml2-dev | ||
libxslt1-dev perl xz-utils zip | ||
- run: sudo cpanm --verbose Carp Carp::Always | ||
Docker::CLI::Wrapper::Container | ||
Moo Path::Tiny | ||
- run: perl bin/docker-ci-run.pl --regex-filter='{sysregex}' | ||
timeout-minutes: 20 | ||
name: test-docker-ci-{sys} | ||
'on': | ||
- push | ||
""" | ||
|
||
for rec in [{'dist': "debian", }, {'dist': "fedora", }, ]: | ||
dist = rec['dist'] | ||
outs = TMPL.format(sys=dist, sysregex=dist) | ||
with open(".github/workflows/test-docker-ci-{sys}.yml".format(sys=dist), | ||
"wt") as fh: | ||
fh.write("# This file is GENERATED BY {}\n".format( | ||
"CI-testing/generate_gh_actions.py")) | ||
fh.write(outs) |