-
Notifications
You must be signed in to change notification settings - Fork 55
59 lines (56 loc) · 1.99 KB
/
Copy pathfreebsd.yml
File metadata and controls
59 lines (56 loc) · 1.99 KB
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
53
54
55
56
57
58
59
name: FreeBSD-Perl
on:
push:
branches:
- '**'
- '!**appveyor**'
- '!**circleci**'
- '!**macos**'
- '!**notest**'
- '!**release**'
- '!**windows**'
tags-ignore:
# I tag release pushes but those should have already been tested
- 'release-*'
paths-ignore:
# list all the files which are irrelevant to the tests
# non-code, support files, docs, etc
- '.appveyor.yml'
- '.circleci'
- '.gitattributes'
- '.github/workflows/linux.yml'
- '.github/workflows/macos.yml'
- '.github/workflows/release.yml'
- '.github/workflows/windows.yml'
- '.gitignore'
- '.releaserc'
- 'Changes'
- 'LICENSE'
- 'README.pod'
- 'README.md'
- 'SECURITY.md'
jobs:
perl:
runs-on: ubuntu-latest
name: A job to run test in FreeBSD
steps:
- uses: actions/checkout@v6
- name: Perl test in FreeBSD
id: perl-test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
sync: nfs
prepare: |
run: |
freebsd-version
ASSUME_ALWAYS_YES=yes pkg bootstrap -f
ASSUME_ALWAYS_YES=yes pkg update -f
ASSUME_ALWAYS_YES=yes pkg install -y gmake
ASSUME_ALWAYS_YES=yes pkg install -y perl5
ASSUME_ALWAYS_YES=yes pkg install -y p5-App-cpanminus
cpanm --notest IO::Socket::SSL LWP::Protocol::https HTTP::Tiny ExtUtils::MakeMaker Test::Manifest Test::More
cpanm --notest Test::Warnings Test::Pod IPC::Run3
cpanm --notest --installdeps --with-suggests --with-recommends .
perl Makefile.PL
gmake test