Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposition to set up github action #201

Merged
merged 2 commits into from
Oct 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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