Added GitHub based CI for perl
Change-Id: I6356b8eee16e8c89680969207299eff50a8d7e80
diff --git a/.github/workflows/linux-perl.yml b/.github/workflows/linux-perl.yml
new file mode 100644
index 0000000..8a195c4
--- /dev/null
+++ b/.github/workflows/linux-perl.yml
@@ -0,0 +1,33 @@
+name: CI Perl Linux
+on:
+ push:
+ branches:
+ - '*'
+ tags-ignore:
+ - '*'
+ pull_request:
+jobs:
+ perl:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ perl-version:
+ - '5.20'
+ - '5.22'
+ - '5.30'
+ - '5.32'
+ name: Perl ${{ matrix.perl-version }} on Linux
+ container:
+ image: perl:${{ matrix.perl-version }}
+ steps:
+ - uses: actions/checkout@v2
+ - name: perl -V
+ run: perl -V
+ - name: Install dependencies
+ run: |
+ cpanm git://github.com/Akron/Mojolicious-Plugin-Localize.git
+ cpanm git://github.com/Akron/Mojolicious-Plugin-TagHelpers-ContentBlock.git
+ cpanm -n --installdeps .
+ cpanm -n Cpanel::JSON::XS EV
+ - name: Run tests
+ run: prove -lr t/