MacOS 10.15 is no longer supported, but MacOS 13 runners are in beta #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: MacOS | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
runs-on: ['macos-13', 'macos-11', 'macos-12'] | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Perl environment | |
uses: shogo82148/actions-setup-perl@v1 | |
- name: Test and build | |
run: | | |
cpanm ExtUtils::MakeMaker Probe::Perl Test::Pod Test::Pod::Coverage parent | |
cpanm --installdeps . | |
echo|perl Build.PL | |
./Build test |