forked from cpan-authors/IPC-Run
-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (44 loc) · 1.22 KB
/
bsd.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: BSDs
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
workflow_dispatch:
permissions: {}
jobs:
BSDs:
# Run BSDs using virtualization
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
os:
- name: freebsd
version: '14.0'
pkginstall: pkg install -y p5-ExtUtils-MakeMaker
- name: openbsd
version: '7.5'
pkginstall: echo no packages required
- name: netbsd
version: '10.0'
pkginstall: pkgin -y install perl || true
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Test on ${{ matrix.os.name }}
uses: cross-platform-actions/action@b2e15da1e667187766fff4945d20b98ac7055576 # v0.24.0
with:
operating_system: ${{ matrix.os.name }}
version: ${{ matrix.os.version }}
shell: bash
run: |
sudo ${{ matrix.os.pkginstall }}
/usr/sbin/pkg_info || true
curl -L https://cpanmin.us | sudo perl - --notest --installdeps --with-configure --with-develop .
perl Makefile.PL
make
prove -wlvmb t