Skip to content

Commit 726f426

Browse files
ShahanaFarooquiendothermicdev
authored andcommitted
ci: Lock MacOS and poetry versions
1 parent 392655d commit 726f426

File tree

1 file changed

+7
-13
lines changed

1 file changed

+7
-13
lines changed

.github/workflows/macos.yaml

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
jobs:
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
@@ -27,26 +27,20 @@ jobs:
2727
2828
- name: Install dependencies
2929
run: |
30-
export PATH="/usr/local/opt:/Users/runner/.local/bin:/Users/runner/Library/Python/3.10/bin:$PATH"
30+
export PATH="/usr/local/opt:/Users/runner/.local/bin:/opt/homebrew/bin/python3.10/bin:$PATH"
3131
32-
brew install wget autoconf automake libtool [email protected] gnu-sed gettext libsodium protobuf
33-
34-
python3.10 -m pip install -U --user poetry wheel pip
32+
brew install gnu-sed [email protected] autoconf automake libtool protobuf
33+
python3.10 -m pip install -U --user poetry==1.8.0 wheel pip mako
3534
python3.10 -m poetry install
36-
python3.10 -m pip install -U --user mako
37-
38-
sudo ln -s /usr/local/Cellar/gettext/0.20.1/bin/xgettext /usr/local/opt
3935
40-
- name: Build and install
36+
- name: Build and install CLN
4137
run: |
4238
export CPATH=/opt/homebrew/include
4339
export LIBRARY_PATH=/opt/homebrew/lib
4440
4541
python3.10 -m poetry run ./configure --disable-valgrind --disable-compat
4642
python3.10 -m poetry run make
4743
48-
# sudo PATH="/usr/local/opt:$PATH" LIBRARY_PATH=/opt/homebrew/lib CPATH=/opt/homebrew/include make install
49-
5044
- name: Start bitcoind in regtest mode
5145
run: |
5246
bitcoind -regtest -daemon
@@ -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

Comments
 (0)