File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 2424 brew install boost
2525 python -m pip install --upgrade pip
2626 python -m pip install setuptools faber
27+ boostDir=/opt/homebrew/Cellar/boost/1.86.0
28+ [[ -d $boostDir ]] || boostDir=/opt/homebrew/Cellar/boost/1.86.0_2
29+ echo "boostDir=$boostDir" >> "$GITHUB_ENV"
2730 - name : build
2831 run : |
2932 python --version
@@ -32,15 +35,15 @@ jobs:
3235 faber -v
3336 sed -e "s/\$PYTHON/python/g" .ci/faber > ~/.faber
3437 faber \
35- --with-boost-include=/opt/homebrew/Cellar/boost/1.86.0 /include \
38+ --with-boost-include=$boostDir /include \
3639 --builddir=build \
3740 cxx.name=${{ matrix.cxx }} \
3841 cxxflags=-std=${{ matrix.std }} \
3942 -j`sysctl -n hw.ncpu`
4043 - name : test
4144 run : |
4245 faber \
43- --with-boost-include=/opt/homebrew/Cellar/boost/1.86.0 /include \
46+ --with-boost-include=$boostDir /include \
4447 --builddir=build\
4548 cxx.name=${{ matrix.cxx }} \
4649 cxxflags=-std=${{ matrix.std }} \
You can’t perform that action at this time.
0 commit comments