Tinker with *BSD workflow #23
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: BSD | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- name: freebsd | |
architecture: x86-64 | |
version: '14.0' | |
pkg: sudo pkg install -y perl5 | |
- name: openbsd | |
architecture: x86-64 | |
version: '7.4' | |
- name: openbsd | |
architecture: arm64 | |
version: '7.4' | |
- name: netbsd | |
architecture: x86-64 | |
version: '9.3' | |
# https://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/lang/perl5/index.html | |
pkg: sudo pkgin -y install perl | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Test on ${{ matrix.os.name }} | |
uses: cross-platform-actions/action@v0.23.0 | |
env: | |
MY_ENV1: MY_ENV1 | |
MY_ENV2: MY_ENV2 | |
with: | |
environment_variables: MY_ENV1 MY_ENV2 | |
operating_system: ${{ matrix.os.name }} | |
architecture: ${{ matrix.os.architecture }} | |
version: ${{ matrix.os.version }} | |
shell: bash | |
memory: 5G | |
cpu_count: 4 | |
run: | | |
uname -a | |
echo $SHELL | |
pwd | |
ls -lah | |
whoami | |
env | sort | |
${{ matrix.os.pkg || '' }} | |
perl -V | |
perl Build.PL | |
./Build | |
./Build test | |
cpanm -v --mirror http://cpan.cpantesters.org/ . |