Skip to content

Commit 63f56d3

Browse files
committed
bump perl in ci
1 parent f5750bb commit 63f56d3

File tree

5 files changed

+51
-5
lines changed

5 files changed

+51
-5
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
cip_tag:
20-
- static
21-
- "5.37"
20+
- "5.41"
21+
- "5.40"
22+
- "5.38"
2223
- "5.36"
2324
- "5.34"
2425
- "5.32"

.github/workflows/static.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: static
2+
3+
on:
4+
push:
5+
branches:
6+
- '*'
7+
tags-ignore:
8+
- '*'
9+
pull_request:
10+
11+
jobs:
12+
perl:
13+
14+
runs-on: ubuntu-latest
15+
16+
env:
17+
CIP_TAG: static
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- name: Bootstrap CIP
23+
run: |
24+
curl -L https://raw.githubusercontent.com/uperl/cip/main/bin/github-bootstrap | bash
25+
26+
- name: Build + Test
27+
run: |
28+
cip script

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Dist::Zilla::Plugin::FFI ![linux](https://github.com/PerlFFI/Dist-Zilla-Plugin-FFI/workflows/linux/badge.svg)
1+
# Dist::Zilla::Plugin::FFI ![static](https://github.com/PerlFFI/Dist-Zilla-Plugin-FFI/workflows/static/badge.svg) ![linux](https://github.com/PerlFFI/Dist-Zilla-Plugin-FFI/workflows/linux/badge.svg)
22

33
FFI related Dist::Zilla plugins
44

dist.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ test2_v0 = 1
1313
version_plugin = PkgVersion::Block
1414
github_user = PerlFFI
1515
irc = irc://irc.perl.org/#native
16-
workflow = linux
16+
17+
workflow = static
18+
workflow = linux
1719

1820
[RemovePrereqs]
1921
remove = strict

lib/Dist/Zilla/Plugin/FFI/Build.pm

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,14 @@ EOF2
157157
},
158158
"FFI::Platypus::Lang::@{[ $self->lang ]}" => 0,
159159
);
160+
if($self->lang eq 'V') {
161+
$self->zilla->register_prereqs( +{
162+
phase => 'runtime',
163+
type => 'requires',
164+
},
165+
"FFI::Build" => '2.10',
166+
)
167+
}
160168
}
161169

162170
if($self->build)
@@ -167,8 +175,15 @@ EOF2
167175
},
168176
"FFI::Build::File::@{[ $self->build ]}" => 0,,
169177
);
178+
if($self->build eq 'VMod') {
179+
$self->zilla->register_prereqs( +{
180+
phase => 'runtime',
181+
type => 'requires',
182+
},
183+
"FFI::Build" => '2.10',
184+
)
185+
}
170186
}
171-
172187
}
173188

174189
sub metadata ($self)

0 commit comments

Comments
 (0)