add gh action running ci

This commit is contained in:
2023-03-22 10:31:32 +01:00
parent 513039dd53
commit 08305d055c

28
.github/workflows/ci.yaml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: build-and-test-module
on: [push, pull_request]
jobs:
perlci:
name: maketest
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
perl-version:
- '5.36'
- '5.30'
- '5.20'
- '5.10'
container:
image: perldocker/perl-tester:${{ matrix.perl-version }}
steps:
- uses: actions/checkout@main
with:
submodules: recursive
- run: perl -V
- run: cpanm --notest --installdeps --verbose .
- run: perl Makefile.PL
- run: make
- run: prove -wlvmb t