summaryrefslogtreecommitdiff
path: root/.github/workflows/perl.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/perl.yml')
-rw-r--r--.github/workflows/perl.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/perl.yml b/.github/workflows/perl.yml
new file mode 100644
index 0000000..4079d50
--- /dev/null
+++ b/.github/workflows/perl.yml
@@ -0,0 +1,37 @@
+name: linux
+
+on:
+ push:
+ branches:
+ - '*'
+ pull_request:
+ branches:
+ - '*'
+
+jobs:
+ perl:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ perl-version:
+ - '5.20'
+ - 'latest'
+ - 'threaded'
+
+ container:
+ image: perl:${{ matrix.perl-version }}
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: perl -V
+ run: perl -V
+ - name: Install Dependencies
+ run: curl -sL https://raw.githubusercontent.com/skaji/cpm/master/cpm | perl - install -g --show-build-log-on-failure
+ - name: Pre-Build
+ run: perl Build.PL
+ - name: Build
+ run: ./Build
+ - name: Run Tests
+ run: prove -bl t