Add GitHub action for CI
Change-Id: I855ae2c78e0346393270bdce54c637f741dd138b
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644
index 0000000..25778fd
--- /dev/null
+++ b/.github/workflows/linux.yml
@@ -0,0 +1,30 @@
+name: CI 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 --installdeps .
+ - name: Run tests
+ run: prove -lr t/