File tree Expand file tree Collapse file tree 5 files changed +51
-5
lines changed
lib/Dist/Zilla/Plugin/FFI Expand file tree Collapse file tree 5 files changed +51
-5
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
33FFI related Dist::Zilla plugins
44
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ test2_v0 = 1
1313version_plugin = PkgVersion::Block
1414github_user = PerlFFI
1515irc = irc://irc.perl.org/# native
16- workflow = linux
16+
17+ workflow = static
18+ workflow = linux
1719
1820[RemovePrereqs]
1921remove = strict
Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments