Release 0.86 #381
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
--- | |
# see https://github.com/FGasper/perl-github-action-tips | |
name: Test Code on BSD | |
on: | |
push: | |
branches: | |
- '*' | |
tags-ignore: | |
- '*' | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- name: freebsd | |
version: '13.3' | |
pkginstall: pkg install -y p5-ExtUtils-MakeMaker p5-List-MoreUtils p5-Log-Any p5-JSON-MaybeXS p5-libwww p5-Test-Most p5-Test-Warn p5-HTTP-BrowserDetect p5-Test-Needs p5-Class-Autouse p5-IPC-System-Simple p5-Test-Compile p5-Test-Script p5-namespace-clean p5-Test-NoWarnings | |
- name: openbsd | |
version: '7.5' | |
pkginstall: pkg_add p5-List-MoreUtils p5-Log-Any p5-JSON-MaybeXS p5-libwww | |
steps: | |
- uses: actions/checkout@main | |
with: | |
submodules: recursive | |
- name: Test on ${{ matrix.os.name }} | |
uses: cross-platform-actions/action@master | |
with: | |
operating_system: ${{ matrix.os.name }} | |
version: ${{ matrix.os.version }} | |
shell: bash | |
run: | | |
sudo hostname example.com | |
sudo ${{ matrix.os.pkginstall }} | |
curl -L https://cpanmin.us | sudo perl - --notest --installdeps --with-configure --with-develop . | |
sudo cpan -i String::Clean::XSS Tie::Filehandle::Preempt::Stdin | |
sudo chown -R runner:runner . | |
AUTOMATED_TESTING=1 perl Makefile.PL | |
AUTOMATED_TESTING=1 make | |
AUTOMATED_TESTING=1 prove -wlmb t |