Some fixes #445
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI FreeBSD | |
on: [push, pull_request] | |
jobs: | |
testfreebsd: | |
runs-on: ubuntu-latest | |
name: Build on FreeBSD | |
timeout-minutes: 120 | |
strategy: | |
fail-fast: true | |
matrix: | |
bitcoind-version: ["27.0"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build | |
id: test | |
uses: vmactions/freebsd-vm@v1 | |
with: | |
usesh: true | |
mem: 4096 | |
prepare: | | |
pkg install -y \ | |
bash \ | |
wget \ | |
py311-pip \ | |
py311-sqlite3 \ | |
jq \ | |
gmake \ | |
git \ | |
python \ | |
postgresql12-server \ | |
autoconf \ | |
automake \ | |
libtool \ | |
bash \ | |
gettext \ | |
sqlite3 \ | |
lowdown \ | |
curl | |
pip install --user -U wheel pip mako==1.1.5 mistune==0.8.4 jinja2==2.11.3 MarkupSafe==2.0.1 | |
run: | | |
PATH=/root/.local/bin:$PATH | |
git clone https://github.com/lightning/bolts.git ../bolts | |
# fatal: unsafe repository ('/Users/runner/work/lightning/lightning' is owned by someone else) | |
git config --global --add safe.directory $GITHUB_WORKSPACE | |
./configure CC="$CC" --disable-valgrind | |
gmake | |
gmake install | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: clightning-${{ github.sha }}-freebsd | |
path: | | |
/usr/local/bin/lightningd | |
/usr/local/bin/lightning-cli | |
/usr/local/bin/lightning-hsmtool | |
/usr/local/libexec/c-lightning | |
/usr/local/share/man/man1 | |
/usr/local/share/man/man5 | |
/usr/local/share/man/man7 | |
/usr/local/share/man/man8 | |
/usr/local/share/doc/c-lightning | |
if-no-files-found: error | |
retention-days: 7 | |
- name: Download artifacts | |
uses: actions/download-artifact@v4 | |
with: | |
name: clightning-${{ github.sha }}-freebsd |