Skip to content

Commit 9cac04f

Browse files
committed
CI FreeBSD
1 parent 5f767f9 commit 9cac04f

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: smoke-freebsd
2+
3+
on:
4+
push:
5+
branches:
6+
- "*"
7+
tags-ignore:
8+
- "*"
9+
pull_request:
10+
11+
jobs:
12+
freebsd:
13+
env:
14+
PERL_USE_UNSAFE_INC: 0
15+
AUTHOR_TESTING: 1
16+
AUTOMATED_TESTING: 1
17+
RELEASE_TESTING: 1
18+
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Test in FreeBSD
24+
uses: vmactions/freebsd-vm@v1
25+
with:
26+
usesh: true
27+
copyback: false
28+
prepare: |
29+
pkg install -y perl5
30+
run: |
31+
set -x
32+
freebsd-version
33+
sysctl hw.model
34+
sysctl hw.ncpu
35+
sysctl hw.physmem
36+
sysctl hw.usermem
37+
CPU=$(sysctl -n hw.ncpu)
38+
export HARNESS_OPTIONS=j$CPU
39+
perl -V
40+
perl Makefile.PL
41+
make test
42+
make disttest NOECHO=

0 commit comments

Comments
 (0)