forked from PIVX-Project/PIVX
-
Notifications
You must be signed in to change notification settings - Fork 0
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
14 additions
and
5 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 |
---|---|---|
|
@@ -151,8 +151,8 @@ jobs: | |
export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" | ||
export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" | ||
else | ||
export CPPFLAGS="-I/usr/local/opt/[email protected]/include" | ||
export LDFLAGS="-L/usr/local/opt/[email protected]/lib" | ||
export CPPFLAGS="-I/usr/local/opt/[email protected]/include -I/usr/local/opt/berkeley-db@4/include" | ||
export LDFLAGS="-L/usr/local/opt/[email protected]/lib -L/usr/local/opt/berkeley-db@4/lib" | ||
fi | ||
fi | ||
fi | ||
|
@@ -207,7 +207,7 @@ jobs: | |
- name: x64-macOS | ||
id: macOS-nodepends | ||
os: macos-12 | ||
packages: autoconf automake ccache berkeley-db@4 libtool [email protected] miniupnpc libnatpmp pkg-config [email protected] libevent qrencode gmp libsodium rust librsvg | ||
packages: autoconf automake ccache berkeley-db@4 libtool [email protected] miniupnpc libnatpmp pkg-config [email protected] qt@5 zmq libevent qrencode gmp libsodium rust librsvg | ||
unit_tests: true | ||
functional_tests: true | ||
cc: clang | ||
|
@@ -260,6 +260,11 @@ jobs: | |
export CXX | ||
fi | ||
if [ "${{ matrix.config.os }}" = "macos-12" ]; then | ||
export CPPFLAGS="-I/usr/local/opt/[email protected]/include -I/usr/local/opt/berkeley-db@4/include" | ||
export LDFLAGS="-L/usr/local/opt/[email protected]/lib -L/usr/local/opt/berkeley-db@4/lib" | ||
fi | ||
if [[ ${{ matrix.config.os }} = ubuntu* ]]; then | ||
OUTDIR_PATH="$GITHUB_WORKSPACE/$GITHUB_RUN_NUMBER" | ||
BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$GITHUB_WORKSPACE --bindir=$OUTDIR_PATH/bin --libdir=$OUTDIR_PATH/lib" | ||
|
@@ -436,7 +441,9 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Setup Environment | ||
run: sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.packages }} | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.packages }} | ||
- name: depends cache files | ||
uses: actions/cache@v4 | ||
|
@@ -558,7 +565,9 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Setup Environment | ||
run: sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.packages }} | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install --no-install-recommends --no-upgrade -qq "$APT_BASE" ${{ matrix.config.packages }} | ||
- name: depends cache files | ||
if: matrix.config.no_depends != 1 | ||
|