Skip to content

Commit 00c9799

Browse files
committed
CI FreeBSD
1 parent ed9b370 commit 00c9799

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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+
perl -V
39+
perl Makefile.PL
40+
make distdir NOECHO=; ls -al; pwd
41+
HARNESS_OPTIONS=j$CPU make -j $CPU test
42+
HARNESS_OPTIONS=j$CPU make -j $CPU disttest NOECHO=
43+
ls -al; pwd; cat Makefile

0 commit comments

Comments
 (0)