No, really:
```
IsolatedBuildInstallError
Failed to install maturin>=1.2,<2.0.
Output:
Updating dependencies
Resolving dependencies...
Package operations: 1 install, 0 updates, 0 removals
- Installing maturin (1.8.3)
PEP517 build of a dependency failed
Backend subprocess exited when trying to invoke build_wheel
| Command '['/tmp/tmp0qxx7olq/.venv/bin/python', '/root/.local/lib/python3.10/site-packages/pyproject_hooks/_in_process/_in_process.py', 'build_wheel', '/tmp/tmpu1wwwrff']' returned non-zero exit status 1.
|
| /tmp/tmp0qxx7olq/.venv/lib/python3.11/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
| !!
|
| ********************************************************************************
| Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0).
|
| By 2026-Feb-18, you need to update your project and remove deprecated calls
| or your builds will no longer be supported.
|
| See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
| ********************************************************************************
|
| !!
| corresp(dist, value, root_dir)
| running bdist_wheel
| running build
| running build_py
| creating build/lib.freebsd-14.2-RELEASE-amd64-cpython-311/maturin
| copying maturin/__init__.py -> build/lib.freebsd-14.2-RELEASE-amd64-cpython-311/maturin
| copying maturin/__main__.py -> build/lib.freebsd-14.2-RELEASE-amd64-cpython-311/maturin
| running egg_info
| writing maturin.egg-info/PKG-INFO
| writing dependency_links to maturin.egg-info/dependency_links.txt
| writing requirements to maturin.egg-info/requires.txt
| writing top-level names to maturin.egg-info/top_level.txt
| reading manifest file 'maturin.egg-info/SOURCES.txt'
| reading manifest template 'MANIFEST.in'
| warning: no files found matching '*.json' under directory 'src/python_interpreter'
| writing manifest file 'maturin.egg-info/SOURCES.txt'
| running build_ext
| running build_rust
| error: can't find Rust compiler
```
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
76 lines
2.0 KiB
YAML
76 lines
2.0 KiB
YAML
name: FreeBSD Test
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
testfreebsd:
|
|
runs-on: ubuntu-22.04
|
|
name: Build and test on FreeBSD
|
|
timeout-minutes: 120
|
|
strategy:
|
|
fail-fast: true
|
|
matrix:
|
|
bitcoind-version: ["27.1"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Test in FreeBSD
|
|
id: test
|
|
uses: vmactions/freebsd-vm@v1
|
|
with:
|
|
usesh: true
|
|
sync: rsync
|
|
copyback: false
|
|
prepare: |
|
|
pkg install -y \
|
|
bash \
|
|
wget \
|
|
python310 \
|
|
gmake \
|
|
git \
|
|
python \
|
|
postgresql16-server \
|
|
autoconf \
|
|
automake \
|
|
libtool \
|
|
bash \
|
|
gettext \
|
|
sqlite3 \
|
|
lowdown \
|
|
curl
|
|
|
|
python3.10 -m ensurepip
|
|
python3.10 -m pip install --upgrade pip
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
|
|
|
|
|
|
run: |
|
|
PATH=/root/.local/bin:$PATH:/root/.cargo/bin; export PATH
|
|
pip install --user -U wheel pip
|
|
pip3 install --user poetry
|
|
poetry install
|
|
|
|
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 `pwd`
|
|
git submodule update --init --recursive
|
|
|
|
./configure CC="$CC" --disable-valgrind
|
|
|
|
cat config.vars
|
|
|
|
cat << EOF > pytest.ini
|
|
[pytest]
|
|
addopts=-p no:logging --color=yes --timeout=1800 --timeout-method=thread --test-group-random-seed=42 --junitxml=report.xml --json-report --json-report-file=report.json --json-report-indent=2
|
|
markers =
|
|
slow_test: marks tests as slow (deselect with '-m "not slow_test"')
|
|
EOF
|
|
|
|
# Just run a "quick" test without memory checking
|
|
poetry run gmake
|
|
|