File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 58
58
boost-version : ' 1.80.0' }
59
59
60
60
# macOS builds
61
- - {os: macos-latest, compiler: clang}
61
+ # FIXME: Remove -Wno-deprecated flag.
62
+ - {os: macos-latest, compiler: clang, flags: '-Wno-deprecated'}
62
63
63
64
# C++20 builds
64
65
- {os: ubuntu-latest, compiler: gcc, version: '13',
@@ -110,7 +111,9 @@ jobs:
110
111
- name : Install macOS dependencies
111
112
if : startsWith(matrix.os, 'macos-')
112
113
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}
114
117
- name : Install Boost ${{ matrix.boost-version }} from source
115
118
if : " !startsWith(matrix.os, 'windows-') && matrix.boost-version"
116
119
run : |
@@ -172,7 +175,7 @@ jobs:
172
175
ninja install
173
176
popd
174
177
echo "PATH=${HOME}/bin:${PATH}" >> ${GITHUB_ENV}
175
- echo "CPATH=${HOME}/include" >> ${GITHUB_ENV}
178
+ echo "CPATH=${HOME}/include:${CPATH} " >> ${GITHUB_ENV}
176
179
echo "PKG_CONFIG_PATH=${HOME}/lib/pkgconfig" >> ${GITHUB_ENV}
177
180
echo "CXXFLAGS=${COMMONFLAGS} ${{ matrix.flags }}" >> ${GITHUB_ENV}
178
181
- name : Build mettle (Windows)
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ install(includes)
12
12
test_files = find_paths ('test/**/*.cpp' )
13
13
14
14
try :
15
+ boost = package ('boost' )
15
16
libmettle = package ('mettle' )
16
17
mettle = test_driver (['mettle' , '--output=verbose' ])
17
18
20
21
src .stripext ().suffix ,
21
22
files = src ,
22
23
includes = includes ,
23
- packages = [libmettle ]
24
+ packages = [boost , libmettle ]
24
25
), driver = mettle )
25
26
except PackageResolutionError :
26
27
warning ('mettle not found; tests disabled' )
You can’t perform that action at this time.
0 commit comments