55jobs :
66 smoke-test :
77 name : Smoke Test macOS
8- runs-on : macos-latest
8+ runs-on : macos-14
99 timeout-minutes : 120
1010 strategy :
1111 fail-fast : true
@@ -15,37 +15,31 @@ jobs:
1515 - name : Checkout
1616 uses : actions/checkout@v4
1717
18- - name : Download Bitcoin ${{ matrix.bitcoind-version }} & install binaries
19- run : |
20- export BITCOIND_VERSION=${{ matrix.bitcoind-version }}
21- export TARGET_ARCH="arm64-apple-darwin"
22-
23- wget https://bitcoincore.org/bin/bitcoin-core-${BITCOIND_VERSION}/bitcoin-${BITCOIND_VERSION}-${TARGET_ARCH}.tar.gz
24- tar -xzf bitcoin-${BITCOIND_VERSION}-${TARGET_ARCH}.tar.gz
25- sudo mv bitcoin-${BITCOIND_VERSION}/bin/* /usr/local/bin
26- rm -rf bitcoin-${BITCOIND_VERSION}-${TARGET_ARCH}.tar.gz bitcoin-${BITCOIND_VERSION}
27-
2818 - name : Install dependencies
2919 run : |
30- export PATH="/usr/local/opt:/Users/runner/.local/bin:/Users/runner/Library/Python/3.10/bin:$PATH"
31-
32- brew install wget autoconf automake libtool [email protected] gnu-sed gettext libsodium protobuf 20+ export PATH="/usr/local/opt:/Users/runner/.local/bin:/opt/homebrew/bin/python3.10/bin:$PATH"
3321
34- python3.10 -m pip install -U --user poetry wheel pip
22+ brew install gnu-sed [email protected] autoconf automake libtool protobuf 23+ python3.10 -m pip install -U --user poetry==1.8.0 wheel pip mako
3524 python3.10 -m poetry install
36- python3.10 -m pip install -U --user mako
3725
38- sudo ln -s /usr/local/Cellar/gettext/0.20.1/bin/xgettext /usr/local/opt
39-
40- - name : Build and install
26+ - name : Build and install CLN
4127 run : |
4228 export CPATH=/opt/homebrew/include
4329 export LIBRARY_PATH=/opt/homebrew/lib
4430
4531 python3.10 -m poetry run ./configure --disable-valgrind --disable-compat
4632 python3.10 -m poetry run make
4733
48- # sudo PATH="/usr/local/opt:$PATH" LIBRARY_PATH=/opt/homebrew/lib CPATH=/opt/homebrew/include make install
34+ - name : Download Bitcoin ${{ matrix.bitcoind-version }} & install binaries
35+ run : |
36+ export BITCOIND_VERSION=${{ matrix.bitcoind-version }}
37+ export TARGET_ARCH="arm64-apple-darwin"
38+
39+ wget https://bitcoincore.org/bin/bitcoin-core-${BITCOIND_VERSION}/bitcoin-${BITCOIND_VERSION}-${TARGET_ARCH}.tar.gz
40+ tar -xzf bitcoin-${BITCOIND_VERSION}-${TARGET_ARCH}.tar.gz
41+ sudo mv bitcoin-${BITCOIND_VERSION}/bin/* /usr/local/bin
42+ rm -rf bitcoin-${BITCOIND_VERSION}-${TARGET_ARCH}.tar.gz bitcoin-${BITCOIND_VERSION}
4943
5044 - name : Start bitcoind in regtest mode
5145 run : |
@@ -58,11 +52,11 @@ jobs:
5852 bitcoin-cli -regtest generatetoaddress 1 $(bitcoin-cli -regtest getnewaddress)
5953 sleep 2
6054
61- - name : Start lightningd in regtest mode
55+ - name : Start CLN in regtest mode
6256 run : |
6357 lightningd/lightningd --network=regtest --log-file=/tmp/l1.log --daemon
6458 sleep 5
6559
66- - name : Verify lightningd is running
60+ - name : Verify CLN is running
6761 run : |
6862 cli/lightning-cli --regtest getinfo
0 commit comments