Skip to content

Commit

Permalink
tuning github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
karel-m committed Oct 2, 2023
1 parent b743663 commit 452b1cc
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: combined
name: 01-main-tests

on:
push:
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/02-bsd-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 02-bsd-tests

on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:

jobs:
BSDs:
runs-on: macos-latest

strategy:
fail-fast: false
matrix:
os:
- name: freebsd
version: '13.0'
pkginstall: pkg install -y p5-ExtUtils-MakeMaker
- name: openbsd
version: '7.1'
pkginstall: pkg_add p5-ExtUtils-MakeMaker

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 ${{ matrix.os.pkginstall }}
curl -L https://cpanmin.us | sudo perl - --verbose --notest --installdeps --with-configure --with-develop .
perl Makefile.PL
make
prove -wlvmb t

0 comments on commit 452b1cc

Please sign in to comment.