[gha] update freebsd workflow

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2022-11-04 21:08:25 +03:00
parent 8299f80ea5
commit e1e4924592
No known key found for this signature in database
GPG Key ID: 66F6C87B98EBCFE2

View File

@ -10,12 +10,19 @@ jobs:
- uses: actions/checkout@v2
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v0.2.0
uses: vmactions/freebsd-vm@v0.3.0
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@v2
with:
name: i2pd-freebsd
path: build/i2pd