mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
701 B
33 lines
701 B
1 year ago
|
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
|