i2pd/.github/workflows/build-freebsd.yml

22 lines
502 B
YAML
Raw Normal View History

2020-12-07 05:36:06 +00:00
name: Build on FreeBSD
on: [push, pull_request]
jobs:
build:
2022-07-21 20:36:51 +00:00
runs-on: macos-12
2020-12-07 05:36:06 +00:00
name: with UPnP
steps:
- uses: actions/checkout@v2
- name: Test in FreeBSD
id: test
2022-07-21 20:36:51 +00:00
uses: vmactions/freebsd-vm@v0.2.0
2020-12-07 05:36:06 +00:00
with:
usesh: true
mem: 2048
2020-12-07 05:36:06 +00:00
prepare: pkg install -y devel/cmake devel/gmake devel/boost-libs security/openssl net/miniupnpc
run: |
cd build
cmake -DWITH_UPNP=ON -DCMAKE_BUILD_TYPE=Release .
gmake -j2