forked from cpan-authors/IPC-Run
-
Notifications
You must be signed in to change notification settings - Fork 0
52 lines (45 loc) · 1.33 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
52
name: BSDs
on:
push:
branches:
- '*'
tags-ignore:
- '*'
pull_request:
workflow_dispatch:
permissions: {}
jobs:
BSDs:
# Run BSDs using macOS nested virtualization:
# https://github.com/cross-platform-actions/action#under-the-hood
runs-on: macOS-latest
strategy:
fail-fast: false
matrix:
os:
- name: freebsd
version: '13.0'
pkginstall: pkg install -y p5-ExtUtils-MakeMaker
#- name: freebsd
# version: '12.2'
# pkginstall: pkg install -y p5-ExtUtils-MakeMaker
# Tests currently fail on OpenBSD:
#- name: openbsd
# version: '6.9'
# pkginstall: pkg_add curl p5-ExtUtils-MakeMaker
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Test on ${{ matrix.os.name }}
uses: cross-platform-actions/action@a4a7327f8112bc2513a07701786a0c3c1193583a # v0.23.0
with:
operating_system: ${{ matrix.os.name }}
version: ${{ matrix.os.version }}
shell: bash
run: |
sudo ${{ matrix.os.pkginstall }}
curl -L https://cpanmin.us | sudo perl - --notest --installdeps --with-configure --with-develop .
perl Makefile.PL
make
prove -wlvmb t