File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 5858 boost-version : ' 1.80.0' }
5959
6060 # macOS builds
61- - {os: macos-latest, compiler: clang}
61+ # FIXME: Remove -Wno-deprecated flag.
62+ - {os: macos-latest, compiler: clang, flags: '-Wno-deprecated'}
6263
6364 # C++20 builds
6465 - {os: ubuntu-latest, compiler: gcc, version: '13',
@@ -110,7 +111,9 @@ jobs:
110111 - name : Install macOS dependencies
111112 if : startsWith(matrix.os, 'macos-')
112113 run : |
113- brew install ninja pkg-config boost
114+ brew install boost ninja pkg-config
115+ echo "CPATH=/opt/homebrew/include" >> ${GITHUB_ENV}
116+ echo "LIBRARY_PATH=/opt/homebrew/lib" >> ${GITHUB_ENV}
114117 - name : Install Boost ${{ matrix.boost-version }} from source
115118 if : " !startsWith(matrix.os, 'windows-') && matrix.boost-version"
116119 run : |
@@ -172,7 +175,7 @@ jobs:
172175 ninja install
173176 popd
174177 echo "PATH=${HOME}/bin:${PATH}" >> ${GITHUB_ENV}
175- echo "CPATH=${HOME}/include" >> ${GITHUB_ENV}
178+ echo "CPATH=${HOME}/include:${CPATH} " >> ${GITHUB_ENV}
176179 echo "PKG_CONFIG_PATH=${HOME}/lib/pkgconfig" >> ${GITHUB_ENV}
177180 echo "CXXFLAGS=${COMMONFLAGS} ${{ matrix.flags }}" >> ${GITHUB_ENV}
178181 - name : Build mettle (Windows)
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ install(includes)
1212test_files = find_paths ('test/**/*.cpp' )
1313
1414try :
15+ boost = package ('boost' )
1516 libmettle = package ('mettle' )
1617 mettle = test_driver (['mettle' , '--output=verbose' ])
1718
2021 src .stripext ().suffix ,
2122 files = src ,
2223 includes = includes ,
23- packages = [libmettle ]
24+ packages = [boost , libmettle ]
2425 ), driver = mettle )
2526except PackageResolutionError :
2627 warning ('mettle not found; tests disabled' )
You can’t perform that action at this time.
0 commit comments