forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,24 +28,28 @@ jobs: | |
run: | | ||
export PATH="/usr/local/opt:/Users/runner/.local/bin:/Users/runner/Library/Python/3.10/bin:$PATH" | ||
brew install autoconf automake libtool [email protected] gnu-sed protobuf | ||
brew install wget autoconf automake libtool [email protected] gnu-sed gettext libsodium protobuf | ||
python3.10 -m pip install -U --user poetry==1.8.3 wheel pip | ||
python3.10 -m poetry install | ||
python3.10 -m pip install -U --user mako | ||
xcode-select --install | ||
sudo ln -s /usr/local/Cellar/gettext/0.20.1/bin/xgettext /usr/local/opt | ||
- name: Build | ||
run: | | ||
export PATH="/opt/homebrew/Cellar/libsodium/1.0.20:/usr/local/opt:/Users/runner/.local/bin:/Users/runner/Library/Python/3.10/bin:/usr/local/opt:$PATH" | ||
export CPATH=/opt/homebrew/include | ||
export LIBRARY_PATH=/opt/homebrew/lib | ||
export CFLAGS="-Wno-error -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-builtin-requires-header" | ||
export CXXFLAGS="-Wno-error -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-builtin-requires-header" | ||
python3.10 -m poetry run ./configure --disable-valgrind --disable-compat | ||
python3.10 -m poetry run make | ||
sudo python3.10 -m poetry run make install | ||
# sudo PATH="/usr/local/opt:$PATH" LIBRARY_PATH=/opt/homebrew/lib CPATH=/opt/homebrew/include make install | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
|