Skip to content

Commit 68f4f0b

Browse files
committed
add freebsd build gh action
Change-Id: I2f0e3d29ccc9bbb4f4c15f7b24f00162c3764f7a
1 parent 88f2653 commit 68f4f0b

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/freebsd_build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: FreeBSD build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: macos-12
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: recursive
18+
- name: build in FreeBSD VM
19+
id: build
20+
uses: vmactions/freebsd-vm@v0
21+
with:
22+
usesh: true
23+
prepare: |
24+
pkg install -y curl gmake cmake
25+
26+
run: |
27+
pwd
28+
ls -lah
29+
whoami
30+
env
31+
freebsd-version
32+
cmake -B build -DCMAKE_INSTALL_PREFIX=.
33+
cd build && gmake install

0 commit comments

Comments
 (0)