mirror of
https://codeberg.org/scip/Data-Validate-Struct.git
synced 2025-12-16 12:11:03 +01:00
add gh action running ci
This commit is contained in:
28
.github/workflows/ci.yaml
vendored
Normal file
28
.github/workflows/ci.yaml
vendored
Normal 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
|
||||
Reference in New Issue
Block a user