summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2022-05-06 18:19:11 -0700
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2022-05-06 18:19:11 -0700
commit81aa61f5ce8b9d1e6334c39f03f42a0db6ef77b9 (patch)
treee60b18105f3da7d6f4b485fd8c6b60a40d4b79ad
parent07a554dcf240798f745265831bab691aa522b892 (diff)
downloadcarton-81aa61f5ce8b9d1e6334c39f03f42a0db6ef77b9.tar.gz
add github action
-rw-r--r--.github/workflows/linux.yml39
1 files changed, 39 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644
index 0000000..2355930
--- /dev/null
+++ b/.github/workflows/linux.yml
@@ -0,0 +1,39 @@
+name: linux
+
+on:
+ - push
+
+jobs:
+ perl:
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ perl-version:
+ - '5.12'
+ - '5.14'
+ - '5.16'
+ - '5.18'
+ - '5.20'
+ - '5.22'
+ - '5.24'
+ - '5.26'
+ - '5.28'
+ - '5.30'
+ - '5.32'
+ - '5.34'
+ container:
+ image: perl:${{ matrix.perl-version }}
+ env:
+ TEST_CLEAN: 1
+ steps:
+ - uses: actions/checkout@v1
+ - name: perl -V
+ run: perl -V
+ - name: Install Dependencies
+ run: |
+ curl -sL https://cpanmin.us/ | perl - App::cpanminus && \
+ cpanm -nq --dev Menlo && \
+ cpanm -nq --with-develop --installdeps .
+ - name: Run Tests
+ run: prove -lr xt