@@ -23,11 +23,13 @@ jobs:
2323 uses : vmactions/freebsd-vm@v1
2424 with :
2525 usesh : true
26+ sync : rsync
27+ copyback : false
2628 prepare : |
2729 pkg install -y \
2830 bash \
2931 wget \
30- python38 \
32+ python310 \
3133 gmake \
3234 git \
3335 python \
@@ -39,38 +41,26 @@ jobs:
3941 gettext \
4042 sqlite3 \
4143 lowdown \
44+ pkgconf \
45+ jq \
46+ protobuf \
4247 curl
4348
44- python3.8 -m ensurepip
45- python3.8 -m pip install --upgrade pip
46- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly-2024-11-28
49+ python3.10 -m ensurepip
50+ python3.10 -m pip install --upgrade pip
51+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
4752
48- cd /tmp/ || exit 1
49- wget https://bitcoincore.org/bin/bitcoin-core-${{ matrix.bitcoind-version }}/bitcoin-${{ matrix.bitcoind-version }}-x86_64-linux-gnu.tar.gz
50- tar -xf bitcoin-${{ matrix.bitcoind-version }}-x86_64-linux-gnu.tar.bz2
51- sudo mv bitcoin-${{ matrix.bitcoind-version }}/bin/* /usr/local/bin
52- rm -rf bitcoin-${{ matrix.bitcoind-version }}-x86_64-linux-gnu.tar.gz bitcoin-${{ matrix.bitcoind-version }}
5353
5454 run : |
55- PATH=/root/.local/bin:$PATH
55+ PATH=/root/.local/bin:$PATH:/root/.cargo/bin; export PATH
5656 pip install --user -U wheel pip
57- pip install --user -U -r requirements.txt
58-
59- # Install utilities that aren't dependencies, but make
60- # running tests easier/feasible on CI (and pytest which
61- # keeps breaking the rerunfailures plugin).
62- pip install --user -U \
63- blinker \
64- flake8 \
65- mako \
66- pytest-sentry \
67- pytest-test-groups==1.0.3 \
68- pytest-custom-exit-code==0.3.0 \
69- pytest-json-report
57+ pip3 install --user poetry
58+ poetry install
7059
7160 git clone https://github.com/lightning/bolts.git ../bolts
7261 # fatal: unsafe repository ('/Users/runner/work/lightning/lightning' is owned by someone else)
7362 git config --global --add safe.directory `pwd`
63+ for d in libsodium libwally-core gheap jsmn libbacktrace lowdown; do git config --global --add safe.directory `pwd`/external/$d; done
7464 git submodule update --init --recursive
7565
7666 ./configure CC="$CC" --disable-valgrind
8575 EOF
8676
8777 # Just run a "quick" test without memory checking
88- gmake
78+ poetry run gmake
8979
90- # Clean up to maximize rsync's chances of succeeding
91- gmake clean
0 commit comments