use author/index.txt #77
Workflow file for this run
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
name: test | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
ubuntu: | |
name: ubuntu perl ${{ matrix.perl-version }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
perl-version: | |
- '5.8-buster' | |
- '5.10-buster' | |
- '5.16-buster' | |
- '5.18-buster' | |
- 'latest' | |
- 'threaded' | |
container: | |
image: perl:${{ matrix.perl-version }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install deb packages | |
run: apt-get -qq update && apt-get -qq install -y unzip libdb-dev | |
- name: perl -V | |
run: perl -V | |
- name: Install Dependencies | |
run: curl -fsSL --compressed https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl - install -g --with-develop --with-recommends --show-build-log-on-failure | |
if: matrix.perl-version != '5.8-buster' | |
- name: Install Dependencies | |
run: curl -fsSL --compressed https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl - install -g --with-develop --with-recommends --show-build-log-on-failure --resolver Fixed,CPAN::Meta::Requirements@2.140,Module::Build::Tiny@0.047 | |
if: matrix.perl-version == '5.8-buster' | |
- name: Run Tests | |
run: prove -lr --timer t xt | |
macos: | |
name: macos ${{ matrix.perl }} | |
runs-on: macos-latest | |
env: | |
OBJC_DISABLE_INITIALIZE_FORK_SAFETY: 'YES' | |
strategy: | |
matrix: | |
include: | |
- perl: /usr/bin/perl | |
prove: /usr/bin/prove | |
cpm-option: --sudo | |
- perl: /opt/homebrew/bin/perl | |
prove: /opt/homebrew/bin/prove | |
cpm-option: '' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: perl -V | |
run: ${{ matrix.perl }} -V | |
- name: Install Dependencies | |
run: curl -fsSL --compressed https://raw.githubusercontent.com/skaji/cpm/main/cpm | ${{ matrix.perl }} - install -g ${{ matrix.cpm-option }} --with-develop --with-recommends --show-build-log-on-failure | |
- name: Run Tests | |
run: ${{ matrix.prove }} -lr --timer t xt | |
windows: | |
name: windows perl ${{ matrix.tester-id }} | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
tester-id: | |
- '0' | |
- '1' | |
- '2' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: perl -V | |
run: perl -V | |
- name: Install Dependencies | |
run: curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl - install -g --with-develop --with-recommends --show-build-log-on-failure | |
- name: Run Tests | |
run: perl author\split-run "t\*.t xt\*.t xt\*\*.t" ${{ matrix.tester-id }}/3 prove -l --timer |