Skip to content

Commit 84b0c4c

Browse files
authored
Merge pull request #1 from perl-net-saml2/github
Add Github actions for testing
2 parents f75c478 + b95aa79 commit 84b0c4c

File tree

6 files changed

+206
-0
lines changed

6 files changed

+206
-0
lines changed

Diff for: .github/workflows/linux.yml

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: linux
2+
3+
on:
4+
- push
5+
6+
jobs:
7+
perl:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
perl-version:
12+
- '5.14-buster'
13+
- '5.16-buster'
14+
- '5.18-buster'
15+
- '5.20-buster'
16+
- '5.22-buster'
17+
- '5.24-buster'
18+
- '5.26'
19+
- '5.28'
20+
- '5.30'
21+
- '5.32'
22+
- '5.34'
23+
- '5.36'
24+
container:
25+
image: perl:${{ matrix.perl-version }}
26+
steps:
27+
- uses: actions/checkout@v1
28+
- name: uses install-with-cpanm
29+
uses: perl-actions/install-with-cpanm@v1
30+
with:
31+
cpanfile: "cpanfile"
32+
sudo: false
33+
- name: Install Dependencies
34+
run: |
35+
apt-get install make gcc libssl-dev;
36+
- name: Build Module
37+
run: |
38+
perl Makefile.PL;
39+
make
40+
- name: Run Tests
41+
run: prove -lr -l -b -I inc t

Diff for: .github/workflows/macos-latest.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
2+
name: macos-latest
3+
4+
on:
5+
push:
6+
branches:
7+
- '*'
8+
tags-ignore:
9+
- '*'
10+
pull_request:
11+
12+
jobs:
13+
perl:
14+
15+
runs-on: macOS-latest
16+
17+
strategy:
18+
fail-fast: false
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: uses install-with-cpanm
23+
uses: perl-actions/install-with-cpanm@v1
24+
with:
25+
cpanfile: "cpanfile"
26+
sudo: false
27+
- name: perl -V
28+
run: perl -V
29+
30+
- name: Run Tests
31+
run: |
32+
perl Makefile.PL
33+
make
34+
make test

Diff for: .github/workflows/windows-strawberry.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Windows-Strawberry
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
tags-ignore:
8+
- '*'
9+
pull_request:
10+
branches:
11+
- '*'
12+
jobs:
13+
build:
14+
runs-on: ${{ matrix.os }}
15+
strategy:
16+
matrix:
17+
os: ['windows-latest']
18+
perl: [ '5.32', '5.30', '5.28' ]
19+
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Set up perl
23+
uses: shogo82148/actions-setup-perl@v1
24+
with:
25+
perl-version: ${{ matrix.perl }}
26+
distribution: strawberry
27+
- name: perl -V
28+
run: perl -V
29+
- name: Install Dependencies
30+
run: cpanm --installdeps .
31+
- name: Build Module
32+
run: |
33+
perl Makefile.PL
34+
make
35+
make test

Diff for: META.json

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"abstract" : "Get the Configured API level if it is defined",
3+
"author" : [
4+
"Timothy Legge <[email protected]>"
5+
],
6+
"dynamic_config" : 0,
7+
"generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010",
8+
"license" : [
9+
"apache_2_0"
10+
],
11+
"meta-spec" : {
12+
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
13+
"version" : 2
14+
},
15+
"name" : "Crypt-OpenSSL-ConfiguredAPI",
16+
"prereqs" : {
17+
"configure" : {
18+
"requires" : {
19+
"Crypt::OpenSSL::Guess" : "0",
20+
"ExtUtils::MakeMaker" : "0"
21+
}
22+
},
23+
"develop" : {
24+
"requires" : {
25+
"Test::CPAN::Meta::JSON" : "0.16",
26+
"Test::Kwalitee" : "1.21",
27+
"Test::Pod" : "1.41",
28+
"Test::Spelling" : "0.12"
29+
}
30+
},
31+
"runtime" : {
32+
"requires" : {
33+
"perl" : "5.014"
34+
}
35+
}
36+
},
37+
"provides" : {
38+
"Crypt::OpenSSL::ConfiguredAPI" : {
39+
"file" : "lib/Crypt/OpenSSL/ConfiguredAPI.pm",
40+
"version" : "0.01"
41+
}
42+
},
43+
"release_status" : "stable",
44+
"resources" : {
45+
"bugtracker" : {
46+
"web" : "https://github.com/perl-net-saml2/perl-Crypt-OpenSSL-ConfiguredAPI/issues"
47+
},
48+
"repository" : {
49+
"type" : "git",
50+
"url" : "git://github.com/perl-net-saml2/perl-Crypt-OpenSSL-ConfiguredAPI.git",
51+
"web" : "https://github.com/perl-net-saml2/perl-Crypt-OpenSSL-ConfiguredAPI"
52+
}
53+
},
54+
"version" : "0.01",
55+
"x_generated_by_perl" : "v5.36.1",
56+
"x_maintainers" : [
57+
"Timothy Legge <[email protected]>"
58+
],
59+
"x_serialization_backend" : "JSON::PP version 4.07",
60+
"x_spdx_expression" : "Apache-2.0"
61+
}
62+

Diff for: META.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
abstract: 'Get the Configured API level if it is defined'
3+
author:
4+
- 'Timothy Legge <[email protected]>'
5+
build_requires: {}
6+
configure_requires:
7+
Crypt::OpenSSL::Guess: '0'
8+
ExtUtils::MakeMaker: '0'
9+
dynamic_config: 0
10+
generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010'
11+
license: apache
12+
meta-spec:
13+
url: http://module-build.sourceforge.net/META-spec-v1.4.html
14+
version: '1.4'
15+
name: Crypt-OpenSSL-ConfiguredAPI
16+
provides:
17+
Crypt::OpenSSL::ConfiguredAPI:
18+
file: lib/Crypt/OpenSSL/ConfiguredAPI.pm
19+
version: '0.01'
20+
requires:
21+
perl: '5.014'
22+
resources:
23+
bugtracker: https://github.com/perl-net-saml2/perl-Crypt-OpenSSL-ConfiguredAPI/issues
24+
repository: git://github.com/perl-net-saml2/perl-Crypt-OpenSSL-ConfiguredAPI.git
25+
version: '0.01'
26+
x_generated_by_perl: v5.36.1
27+
x_maintainers:
28+
- 'Timothy Legge <[email protected]>'
29+
x_serialization_backend: 'YAML::Tiny version 1.74'
30+
x_spdx_expression: Apache-2.0

Diff for: dist.ini

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ filename = Changes
5757
copy = Makefile.PL
5858
copy = LICENSE
5959
copy = cpanfile
60+
copy = META.yml
61+
copy = META.json
6062

6163
[MakeMaker::Awesome]
6264
header_file = maint/Makefile_header.PL
@@ -79,6 +81,8 @@ exclude_filename = Makefile.PL
7981
exclude_filename = MANIFEST
8082
exclude_filename = README.md
8183
exclude_filename = LICENSE
84+
exclude_filename = META.yml
85+
exclude_filename = META.json
8286

8387
[WriteVersion]
8488

0 commit comments

Comments
 (0)