Swap Travis-CI to Github Actions

This commit is contained in:
Duncan Ferguson 2024-10-14 23:21:32 +01:00
parent a915d3d218
commit 6967bceb8b
3 changed files with 44 additions and 40 deletions

43
.github/workflows/dzil_tester.yml vendored Normal file
View file

@ -0,0 +1,43 @@
name: CI test builds
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
perl-job:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matric:
perl-version:
- latest
- 5.40
- 5.38
- 5.36
- 5.34
- 5.32
- 5.30
- 5.28
- 5.26
- 5.24
- 5.22
- 5.20
- 5.18
- 5.16
containiner:
image: perldocker/perl-tester:${{ matric.perl-version }}
name: Perl ${{ matric.perl-version }}
steps:
- uses: actions/checkout@v2
- name: Regular tests
run: |
cpanm -n -f Pod::Coverage::TrustPod Test::Perl::Critic Test::Pod::Coverage Test::Pod
perl Build.PL
perl Build test
env:
- COVERAGE=1
- RELEASE_TESTING=1
- AUTHOR_TESTING=1

View file

@ -1,39 +0,0 @@
language: perl
perl:
- blead
- dev
# No clean build due to removal of '.' from lib path
- 5.40
- 5.38
- 5.36
- 5.34
- 5.32
- 5.30
- 5.28
- 5.26
- 5.24
- 5.22
- 5.20
- 5.18
- 5.16
# stopping builds; is anyone really still using this version?
# - 5.14
# - 5.12
# - 5.10
# - 5.8
matrix:
include:
- perl: 5.40
env: COVERAGE=1
allow_failures:
- perl: blead
- perl: blead-thr
- perl: dev
sudo: false
env:
global:
- RELEASE_TESTING=1
- AUTHOR_TESTING=1
before_install:
- eval $(curl https://travis-perl.github.io/init) --auto
- cpanm -n -f Pod::Coverage::TrustPod Test::Perl::Critic Test::Pod::Coverage Test::Pod

View file

@ -2,7 +2,7 @@ Revision history for {{$dist->name}}
4.17_01 ????-??-?? Duncan Ferguson <duncan_ferguson@user.sf.net>
- Swap the hostname lookup macro from DNS to using the system hostname (Github issue #158)
- Update the perl versions to test in Travis-CI
- Swap from using Travis-CI to Github Actions
4.16 2020-06-20 Duncan Ferguson <duncan_ferguson@user.sf.net>
- Further fix for 'resolve_names' error when adding hosts via the UI