Add GitHub CI test workflows
Change-Id: Ie8d258356a4975922fe102f6b18ec3289d753bed
diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml
new file mode 100644
index 0000000..f546521
--- /dev/null
+++ b/.github/workflows/ci_test.yml
@@ -0,0 +1,32 @@
+name: CI Linux
+on:
+ push:
+ branches:
+ - '*'
+ tags-ignore:
+ - '*'
+ pull_request:
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
+ perl: [ '5.34', '5.32', '5.20' ]
+ name: Perl ${{ matrix.perl }}
+ steps:
+ - uses: actions/checkout@v2
+ - name: Setup Perl environment
+ uses: shogo82148/actions-setup-perl@v1.12.2
+ with:
+ perl-version: ${{ matrix.perl }}
+ - run: perl -V
+ - name: Install dependencies
+ run: |
+ cpanm --installdeps .
+ - name: Install
+ run: |
+ perl Makefile.PL
+ make install
+ - name: Run tests
+ run: prove -lrv t
diff --git a/.gitignore b/.gitignore
index ffce448..b176bc7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,7 @@
*.cache
.*
!.gitignore
+!.github
# Protected checks
t/corpus/BRZ13