Skip to content

Commit

Permalink
Merge pull request #201 from MichaelTimbert/github-action
Browse files Browse the repository at this point in the history
Proposition to set up github action
  • Loading branch information
MichaelTimbert authored Oct 15, 2024
2 parents b65739d + c85bfbc commit 2e8d299
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI

on:
push:
branches:
- develop
- master
- 'releases/**'
pull_request:
branches:
- develop
- master
- 'releases/**'

jobs:
run-tests:
strategy:
fail-fast: false
matrix:
perl:
- '5.38'
- '5.34'
- '5.26'
runner:
- ubuntu-22.04

runs-on: ${{ matrix.runner }}

steps:
- uses: actions/checkout@v4

- uses: shogo82148/actions-setup-perl@v1
with:
perl-version: ${{ matrix.perl }}

- name: perl version
run: perl -v

- name: apt install
run: sudo apt install -y libidn2-dev

- name: cpan module
run: cpanm Module::Install Devel::CheckLib Module::Install::XSUtil Test::Fatal

- name: installation
run: cpanm --verbose --notest --configure-args="--no-ed25519" .

- name: test
run: prove -bl


0 comments on commit 2e8d299

Please sign in to comment.