summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2022-10-12 10:49:57 +1100
committerTony Cook <tony@develop-help.com>2022-10-24 15:24:57 +1100
commit4004a8e50218eeeaceaa71474355c3ab31a64c39 (patch)
treef880547e53df73566757a443e1dd573204a1c638 /.github
parent62c5b1f53f07007f1ec33d56c912dcc6bdbbb465 (diff)
downloadperl-4004a8e50218eeeaceaa71474355c3ab31a64c39.tar.gz
CI/dist-modules: add job to test dist/ modules on macos system perl
This tests two things for us: - it tests on a "strange" platform, where things aren't exactly POSIX, but similar enough for some purposes. This allows testing for https://github.com/Perl/perl5/issues/20362 - the MacOS system perl is threaded, which is a flaw with the existing dist-modules tests. This found a few problems which are fixed in the following commits.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/testsuite.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml
index 15fddf7ebc..cc23e6cd0e 100644
--- a/.github/workflows/testsuite.yml
+++ b/.github/workflows/testsuite.yml
@@ -807,3 +807,29 @@ jobs:
- name: Build and test dist modules
run:
perl Porting/test-dist-modules.pl -continue
+
+ dist-modules-sys-macos:
+ name: "Test dist/ modules on MacOS system perl"
+ needs: sanity_check
+ runs-on: macos-11
+ if: (! cancelled() && (needs.sanity_check.outputs.run_all_jobs == 'true' || needs.sanity_check.outputs.ci_force_dist_modules == 'true'))
+
+ env:
+ # some plugins still needs this to run their tests...
+ # these don't really matter, but might later
+ PERL_USE_UNSAFE_INC: 0
+ AUTHOR_TESTING: 1
+ AUTOMATED_TESTING: 1
+ RELEASE_TESTING: 1
+
+ strategy:
+ fail-fast: false
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: perl -V
+ run: /usr/bin/perl -V
+ - name: Build and test dist modules
+ run:
+ /usr/bin/perl Porting/test-dist-modules.pl -continue -separate
+