[gha] return freebsd build back

Signed-off-by: r4sas <r4sas@i2pmail.org>
This commit is contained in:
r4sas 2023-12-18 09:38:08 +00:00
parent 53c6b10177
commit c3429bb1a9
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2
2 changed files with 33 additions and 1 deletions

32
.github/workflows/build-freebsd.yml vendored Normal file
View File

@ -0,0 +1,32 @@
name: Build on FreeBSD
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
name: with UPnP
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
mem: 2048
sync: rsync
copyback: true
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
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: i2pd-freebsd
path: build/i2pd