|
|
@ -10,12 +10,19 @@ jobs: |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- uses: actions/checkout@v2 |
|
|
|
- name: Test in FreeBSD |
|
|
|
- name: Test in FreeBSD |
|
|
|
id: test |
|
|
|
id: test |
|
|
|
uses: vmactions/freebsd-vm@v0.2.0 |
|
|
|
uses: vmactions/freebsd-vm@v0.3.0 |
|
|
|
with: |
|
|
|
with: |
|
|
|
usesh: true |
|
|
|
usesh: true |
|
|
|
mem: 2048 |
|
|
|
mem: 2048 |
|
|
|
prepare: pkg install -y devel/cmake devel/gmake devel/boost-libs security/openssl net/miniupnpc |
|
|
|
sync: rsync |
|
|
|
|
|
|
|
copyback: true |
|
|
|
|
|
|
|
prepare: pkg install -y devel/cmake devel/gmake devel/boost-libs security/openssl net/miniupnpc |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
cd build |
|
|
|
cd build |
|
|
|
cmake -DWITH_UPNP=ON -DCMAKE_BUILD_TYPE=Release . |
|
|
|
cmake -DWITH_UPNP=ON -DCMAKE_BUILD_TYPE=Release . |
|
|
|
gmake -j2 |
|
|
|
gmake -j2 |
|
|
|
|
|
|
|
- name: Upload artifacts |
|
|
|
|
|
|
|
uses: actions/upload-artifact@v2 |
|
|
|
|
|
|
|
with: |
|
|
|
|
|
|
|
name: i2pd-freebsd |
|
|
|
|
|
|
|
path: build/i2pd |