5
5
branches :
6
6
- " master"
7
7
pull_request :
8
+ workflow_dispatch :
8
9
9
10
jobs :
10
11
testfreebsd :
30
31
gmake \
31
32
git \
32
33
python \
33
- postgresql12 -server \
34
+ postgresql16 -server \
34
35
autoconf \
35
36
automake \
36
37
libtool \
@@ -42,49 +43,15 @@ jobs:
42
43
43
44
python3.8 -m ensurepip
44
45
python3.8 -m pip install --upgrade pip
45
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly-2021-08-3z1
46
-
47
- cd /tmp/ || exit 1
48
- wget https://bitcoincore.org/bin/bitcoin-core-${{ matrix.bitcoind-version }}/bitcoin-${{ matrix.bitcoind-version }}-x86_64-linux-gnu.tar.gz
49
- tar -xf bitcoin-${{ matrix.bitcoind-version }}-x86_64-linux-gnu.tar.bz2
50
- sudo mv bitcoin-${{ matrix.bitcoind-version }}/bin/* /usr/local/bin
51
- rm -rf bitcoin-${{ matrix.bitcoind-version }}-x86_64-linux-gnu.tar.gz bitcoin-${{ matrix.bitcoind-version }}
46
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly-2024-11-28
52
47
53
48
run : |
54
- PATH=/root/.local/bin:$PATH
55
- pip install --user -U wheel pip
56
- pip install --user -U -r requirements.txt
57
-
58
- # Install utilities that aren't dependencies, but make
59
- # running tests easier/feasible on CI (and pytest which
60
- # keeps breaking the rerunfailures plugin).
61
- pip install --user -U \
62
- blinker \
63
- flake8 \
64
- mako \
65
- pytest-sentry \
66
- pytest-test-groups==1.0.3 \
67
- pytest-custom-exit-code==0.3.0 \
68
- pytest-json-report
69
-
70
- git clone https://github.com/lightning/bolts.git ../bolts
71
- # fatal: unsafe repository ('/Users/runner/work/lightning/lightning' is owned by someone else)
72
- git config --global --add safe.directory `pwd`
73
- git submodule update --init --recursive
74
-
75
- ./configure CC="$CC" --disable-valgrind
76
-
77
- cat config.vars
78
-
79
- cat << EOF > pytest.ini
80
- [pytest]
81
- 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
82
- markers =
83
- slow_test: marks tests as slow (deselect with '-m "not slow_test"')
84
- EOF
85
-
86
- # Just run a "quick" test without memory checking
87
- gmake
88
-
89
- # Clean up to maximize rsync's chances of succeeding
90
- gmake clean
49
+ pwd
50
+ ls -lah
51
+ whoami
52
+ env
53
+ freebsd-version
54
+ sysctl hw.model
55
+ sysctl hw.ncpu
56
+ sysctl hw.physmem
57
+ sysctl hw.usermem
0 commit comments