diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00a42a9..e9f6f14 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,7 +45,7 @@ jobs: needs: build-linux strategy: matrix: - config: [full, small, full-vista, small-vista, full-536, small-536] + config: [full, small, full-vista, small-vista, full-536, small-536, full-540, small-540] steps: - name: Fetch build artifacts uses: actions/download-artifact@v8 @@ -200,4 +200,6 @@ jobs: small-vista/* full-536/* small-536/* + full-540/* + small-540/* APPerl-*-all.zip diff --git a/Changes b/Changes index 5526d30..02a82f4 100644 --- a/Changes +++ b/Changes @@ -1,4 +1,7 @@ Revision history for Perl-Dist-APPerl +v0.8.0 2026-07-XX + Add Perl 5.42 builds. + v0.7.0 2026-07-09 Add Perl 5.40 builds. 5.38 is skipped as static builds were broken on Perl 5.38, diff --git a/lib/Perl/Dist/APPerl.pm b/lib/Perl/Dist/APPerl.pm index 21baa81..6f5bcad 100644 --- a/lib/Perl/Dist/APPerl.pm +++ b/lib/Perl/Dist/APPerl.pm @@ -746,14 +746,37 @@ my %defconfig = ( dest => 'perl-540-small.com', install_modules => [], }, + 'full-542' => { + desc => 'moving target: full-542', + perl_flags => ['-Dprefix=/zip', '-Uversiononly', '-Dmyhostname=cosmo', '-Dmydomain=invalid'], + perl_extra_flags => ['-Doptimize=-Os', '-de', '-Dprivlib=/zip/lib/perl5', '-Darchlib=/zip/lib/perl5/x86_64-cosmo', '-Dsitelib=/zip/lib/perl5/site_perl', '-Dsitearch=/zip/lib/perl5/site_perl/x86_64-cosmo'], + MANIFEST => ['lib', 'bin'], + 'include_Perl-Dist-APPerl' => 1, + perl_repo_files => {}, + zip_extra_files => {}, + cosmo3 => 1, + dest => 'perl-542.com', + perl_url => 'https://github.com/Perl/perl5/archive/refs/tags/v5.42.2.tar.gz', + patches => ['__sharedir__/5.40-cosmo3.patch', '__sharedir__/5.36-cosmo-apperl.patch'], + install_modules => [], + }, + 'small-542' => { + desc => 'moving target: small-542', + base => 'full-542', + perl_onlyextensions => [qw(Cwd ErrnoRuntime Fcntl File/Glob Hash/Util IO List/Util POSIX Socket attributes re)], + MANIFEST => \@smallmanifest, + 'include_Perl-Dist-APPerl' => 0, + dest => 'perl-542-small.com', + install_modules => [], + }, 'full' => { desc => 'moving target: full', - base => 'full-540', + base => 'full-542', dest => 'perl.com', }, 'small' => { desc => 'moving target: small', - base => 'small-540', + base => 'small-542', dest => 'perl-small.com', }, 'nobuild' => { @@ -786,13 +809,20 @@ my %defconfig = ( perl_url => undef, patches => ['__sharedir__/5.40-cosmo3.patch'], }, + perl_cosmo_dev_542 => { + desc => "For developing cosmo platform perl without apperl additions", + base => 'full', + perl_id => 'v5.42.2', + perl_url => undef, + patches => ['__sharedir__/5.40-cosmo3.patch'], + }, perl_cosmo_dev => { desc => "For developing cosmo platform perl without apperl additions", - base => 'perl_cosmo_dev_540', + base => 'perl_cosmo_dev_542', }, perl_apperl_dev_536 => { desc => "For developing apperl", - base => 'perl_cosmo_dev', + base => 'perl_cosmo_dev_536', '+patches' => ['__sharedir__/5.36-cosmo-apperl.patch'], }, perl_apperl_dev_540 => { @@ -800,9 +830,14 @@ my %defconfig = ( base => 'perl_cosmo_dev_540', '+patches' => ['__sharedir__/5.36-cosmo-apperl.patch'], }, + perl_apperl_dev_542 => { + desc => "For developing apperl", + base => 'perl_cosmo_dev_542', + '+patches' => ['__sharedir__/5.36-cosmo-apperl.patch'], + }, perl_apperl_dev => { desc => "For developing apperl", - base => 'perl_apperl_dev_540', + base => 'perl_apperl_dev_542', }, } ); @@ -955,9 +990,9 @@ sub Status { @projectitems = sort (keys %{$projectconfig->{apperl_configs}}); _remove_arr_items_from_arr(\@configlist, \@projectitems); } - my @rolling = grep(/^(full|small|nobuild|full-540|small-540)$/, @configlist); + my @rolling = grep(/^(full|small|nobuild|full-540|small-540|full-542|small-542)$/, @configlist); { - my %preferences = ( full => 0, small => 1, 'full-540' => 2, 'small-540' => 3, nobuild => 4); + my %preferences = ( full => 0, small => 1, 'full-542' => 2, 'small-542' => 3, 'full-540' => 4, 'small-540' => 5, nobuild => 6); @rolling = sort {$preferences{$a} <=> $preferences{$b}} @rolling; } _remove_arr_items_from_arr(\@configlist, \@rolling);